diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-06-07 09:24:52 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-06-07 09:24:52 -0700 |
commit | 5e4ead28e0d5d6011fb1f7fee2cedaa5d9242fe4 (patch) | |
tree | 47b8ed95de0912bf2a517ac8b02d29e8ba847940 /scripts/system/vyatta_update_login.pl | |
parent | 49016db2c49b4ba1c7e0481c6810ba365c2b270e (diff) | |
download | vyatta-cfg-system-5e4ead28e0d5d6011fb1f7fee2cedaa5d9242fe4.tar.gz vyatta-cfg-system-5e4ead28e0d5d6011fb1f7fee2cedaa5d9242fe4.zip |
wrong option to useradd
Manpage for useradd is incorrect, the option is -N not -n.
Diffstat (limited to 'scripts/system/vyatta_update_login.pl')
-rwxr-xr-x | scripts/system/vyatta_update_login.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/system/vyatta_update_login.pl b/scripts/system/vyatta_update_login.pl index 61fe68ca..bd103c57 100755 --- a/scripts/system/vyatta_update_login.pl +++ b/scripts/system/vyatta_update_login.pl @@ -76,7 +76,7 @@ for my $user (@user_keys) { # make new user using vyatta shell # and make home directory (-m) # and with default group of 100 (users) - $cmd = 'useradd -s /bin/vbash -m -n'; + $cmd = 'useradd -s /bin/vbash -m -N'; } # TODO Add checks for attempts to put system users # in configuration file |