diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-05-30 19:36:54 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-05-30 19:36:54 -0700 |
commit | da2bcad5417af59877495f422c0773ab297c230f (patch) | |
tree | 302400b63f7d77cec0292fb673ed6b75f1b985e9 /scripts | |
parent | 89fe48dea3fd1e3cbbacc0e78f58d277d72168b8 (diff) | |
download | vyatta-cfg-system-da2bcad5417af59877495f422c0773ab297c230f.tar.gz vyatta-cfg-system-da2bcad5417af59877495f422c0773ab297c230f.zip |
Allow any user to be in config file
Root (which uses bash) must be allowed, and probably want to
allow others as well. Better to add full shell support later
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/system/vyatta_update_login.pl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/system/vyatta_update_login.pl b/scripts/system/vyatta_update_login.pl index bf2b0c10..27b8396c 100755 --- a/scripts/system/vyatta_update_login.pl +++ b/scripts/system/vyatta_update_login.pl @@ -75,10 +75,10 @@ for my $user (@user_keys) { if ( !defined $uid ) { $cmd = 'useradd -s /bin/vbash -m'; } - # is it a vyatta user? - elsif ( $shell ne '/bin/vbash' ) { - die "$user: exists but is not a vyatta login user\n"; - } + # TODO Add checks for attempts to put system users + # in configuration file + + # TODO Check if nothing changed and just skip else { $cmd = "usermod"; } |