summaryrefslogtreecommitdiff
path: root/lib/Vyatta/Login/User.pm
diff options
context:
space:
mode:
authorKim Hagen <kim.sidney@gmail.com>2018-05-28 11:16:48 +0200
committerKim Hagen <kim.sidney@gmail.com>2018-05-28 11:16:48 +0200
commita628e955dc687c64192947c280bbe374c5b2502c (patch)
tree9212d7336f13eec8ca657c23cd439d426c8dd44b /lib/Vyatta/Login/User.pm
parent00be341bb5997acbd9afa55faa914f5b46bc470b (diff)
downloadvyatta-cfg-system-a628e955dc687c64192947c280bbe374c5b2502c.tar.gz
vyatta-cfg-system-a628e955dc687c64192947c280bbe374c5b2502c.zip
Ignore nss mapuser when radius is enabled.
Diffstat (limited to 'lib/Vyatta/Login/User.pm')
-rwxr-xr-xlib/Vyatta/Login/User.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Vyatta/Login/User.pm b/lib/Vyatta/Login/User.pm
index e0305fbb..02fb96ee 100755
--- a/lib/Vyatta/Login/User.pm
+++ b/lib/Vyatta/Login/User.pm
@@ -167,7 +167,7 @@ sub _update_user {
# not found in existing passwd, must be new
my $cmd;
- unless ( defined($uid) ) {
+ unless ( defined($uid) and $uid ne "1001" ) {
# make new user using vyatta shell
# and make home directory (-m)
# and with default group of 100 (users)