summaryrefslogtreecommitdiff
path: root/scripts/system/vyatta_check_username.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/system/vyatta_check_username.pl')
-rwxr-xr-xscripts/system/vyatta_check_username.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/system/vyatta_check_username.pl b/scripts/system/vyatta_check_username.pl
index 30917ecb..9ecc42db 100755
--- a/scripts/system/vyatta_check_username.pl
+++ b/scripts/system/vyatta_check_username.pl
@@ -68,7 +68,7 @@ foreach my $user (@ARGV) {
# User does not exist in system, its okay
my $uid = getpwnam($user);
- next unless defined($uid);
+ next unless defined($uid) and $uid ne "1001";
# System accounts should not be listed in vyatta configuration
# 1000 is SYS_UID_MIN