fixed additional ftp account issue for username which starts with digits

This commit is contained in:
Serghey Rodin 2014-03-13 00:06:28 +02:00
commit d77cb6ca82
2 changed files with 2 additions and 2 deletions

View file

@ -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