diff options
Diffstat (limited to 'Users/Users.pm')
-rw-r--r-- | Users/Users.pm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Users/Users.pm b/Users/Users.pm index 846eeff..7508e5c 100644 --- a/Users/Users.pm +++ b/Users/Users.pm @@ -601,12 +601,12 @@ sub add_user { # fallback to useradd $command = "$cmd_useradd -m" . - " --home \'" . $$user[$HOME] . "\'" . - " --gid \'" . $$user[$GID] . "\'" . - " --password \'" . $$user[$PASSWD] . "\'" . - " --shell \'" . $$user[$SHELL] . "\'" . - " --uid \'" . $$user[$UID] . "\'" . - " \'" . $$user[$LOGIN] . "\'"; + " -d \'" . $$user[$HOME] . "\'" . + " -g \'" . $$user[$GID] . "\'" . + " -p \'" . $$user[$PASSWD] . "\'" . + " -s \'" . $$user[$SHELL] . "\'" . + " -u \'" . $$user[$UID] . "\'" . + " \'" . $$user[$LOGIN] . "\'"; &Utils::File::run ($command); } |