mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
fixed additional ftp account issue for username which starts with digits
This commit is contained in:
parent
53abae644f
commit
d77cb6ca82
2 changed files with 2 additions and 2 deletions
|
@ -328,7 +328,7 @@ rebuild_web_domain_conf() {
|
|||
/usr/sbin/useradd $FTP_USER \
|
||||
-s $shell \
|
||||
-o -u $(id -u $user) \
|
||||
-g $user \
|
||||
-g $(id -u $user) \
|
||||
-M -d "$HOMEDIR/$user/web/$domain" > /dev/null 2>&1
|
||||
|
||||
# Update password
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue