From 5e4ead28e0d5d6011fb1f7fee2cedaa5d9242fe4 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Sat, 7 Jun 2008 09:24:52 -0700 Subject: wrong option to useradd Manpage for useradd is incorrect, the option is -N not -n. --- scripts/system/vyatta_update_login.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3