summaryrefslogtreecommitdiff
path: root/scripts/system
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/system')
-rwxr-xr-xscripts/system/vyatta_update_login.pl8
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";
}