summaryrefslogtreecommitdiff
path: root/scripts/system
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/system')
-rwxr-xr-xscripts/system/vyatta_update_login.pl5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/system/vyatta_update_login.pl b/scripts/system/vyatta_update_login.pl
index 27b8396c..61fe68ca 100755
--- a/scripts/system/vyatta_update_login.pl
+++ b/scripts/system/vyatta_update_login.pl
@@ -73,7 +73,10 @@ for my $user (@user_keys) {
my $cmd;
# not found in existing passwd, must be new
if ( !defined $uid ) {
- $cmd = 'useradd -s /bin/vbash -m';
+ # 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';
}
# TODO Add checks for attempts to put system users
# in configuration file