summaryrefslogtreecommitdiff
path: root/lib/Vyatta
diff options
context:
space:
mode:
authorUnicronNL <kim.sidney@gmail.com>2018-05-16 22:22:59 +0200
committerUnicronNL <kim.sidney@gmail.com>2018-05-16 22:22:59 +0200
commit2dfccfb76f04c03100e9552e98c0fe899818071d (patch)
tree91e1b01db15910b36406033ac41d4256112e5dbe /lib/Vyatta
parentc78617e83f502b0983eac764ca49a8a934220af8 (diff)
downloadvyatta-cfg-system-2dfccfb76f04c03100e9552e98c0fe899818071d.tar.gz
vyatta-cfg-system-2dfccfb76f04c03100e9552e98c0fe899818071d.zip
Add 2 users used for radius mapping.
Diffstat (limited to 'lib/Vyatta')
-rwxr-xr-xlib/Vyatta/Login/User.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Vyatta/Login/User.pm b/lib/Vyatta/Login/User.pm
index e03888cd..e0305fbb 100755
--- a/lib/Vyatta/Login/User.pm
+++ b/lib/Vyatta/Login/User.pm
@@ -231,6 +231,9 @@ sub update {
# This can happen if user added but configuration not saved
# and system is rebooted
foreach my $user ( _local_users() ) {
+ # skip radius users
+ next if $user eq 'radius_user';
+ next if $user eq 'radius_priv_user';
# did we see this user in configuration?
next if defined $users{$user};