mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 05:44:08 -07:00
fix for aditional ftp accounts
This commit is contained in:
parent
55a1bdefcb
commit
039a989fb2
5 changed files with 11 additions and 2 deletions
|
@ -268,7 +268,7 @@ rebuild_web_domain_conf() {
|
|||
|
||||
# Adding ftp users
|
||||
if [ -z "$FTP_SHELL" ]; then
|
||||
shell='/sbin/nologin'
|
||||
shell=$(which nologin)
|
||||
if [ -e "/usr/bin/rssh" ]; then
|
||||
shell='/usr/bin/rssh'
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue