diff options
author | Kim Hagen <kim.sidney@gmail.com> | 2018-05-28 11:16:48 +0200 |
---|---|---|
committer | Kim Hagen <kim.sidney@gmail.com> | 2018-05-28 11:16:48 +0200 |
commit | a628e955dc687c64192947c280bbe374c5b2502c (patch) | |
tree | 9212d7336f13eec8ca657c23cd439d426c8dd44b /scripts | |
parent | 00be341bb5997acbd9afa55faa914f5b46bc470b (diff) | |
download | vyatta-cfg-system-a628e955dc687c64192947c280bbe374c5b2502c.tar.gz vyatta-cfg-system-a628e955dc687c64192947c280bbe374c5b2502c.zip |
Ignore nss mapuser when radius is enabled.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/system/vyatta_check_username.pl | 2 |
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 |