mirror of
https://github.com/atmoz/sftp.git
synced 2024-12-22 13:14:42 -05:00
Group name must begin with letters
This commit is contained in:
parent
9307ba0a56
commit
8bc91ed283
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ function createUser() {
|
|||
|
||||
if [ -n "$gid" ]; then
|
||||
if ! $(cat /etc/group | cut -d: -f3 | grep -q "$gid"); then
|
||||
groupadd --gid $gid $gid
|
||||
groupadd --gid $gid "group_$gid"
|
||||
fi
|
||||
|
||||
useraddOptions="$useraddOptions --gid $gid"
|
||||
|
|
Loading…
Reference in a new issue