mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 10:37:39 -07:00
Update v-add-web-domain-ftp
Modification of the useradd request to find the right user group --> For the group it is : (id -g $user)
This commit is contained in:
parent
a6d498e7e2
commit
6d6e3f3723
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ fi
|
|||
/usr/sbin/useradd $ftp_user \
|
||||
-s $shell \
|
||||
-o -u $(id -u $user) \
|
||||
-g $(id -u $user) \
|
||||
-g $(id -g $user) \
|
||||
-M -d "$ftp_path_a" > /dev/null 2>&1
|
||||
|
||||
# Set ftp user password
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue