summaryrefslogtreecommitdiff
path: root/scripts/system
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-10-02 19:18:05 +0200
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-10-02 19:18:05 +0200
commit2e57bf9a4220a1c99cdb87136fad1b83d14cc454 (patch)
tree936ceb033be8fdcbb82f97a34bec3bad661db2d8 /scripts/system
parent73f0546e5f5c8d9bd367771ae0012797114ca340 (diff)
parent21031c67393d26a814298a8755d4bea43b0834de (diff)
downloadvyatta-cfg-system-2e57bf9a4220a1c99cdb87136fad1b83d14cc454.tar.gz
vyatta-cfg-system-2e57bf9a4220a1c99cdb87136fad1b83d14cc454.zip
Fix overlapping edits of standalone_pw_reset
Put in new code to set password, rather than reset it to default Although resetting passwd to default sounds good from a usuablity point of view, it is a potential security hole when system is rebooted. Instead, allow user to choose new passwd.
Diffstat (limited to 'scripts/system')
-rwxr-xr-xscripts/system/vyatta_update_login.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/system/vyatta_update_login.pl b/scripts/system/vyatta_update_login.pl
index bd103c57..dbe4e338 100755
--- a/scripts/system/vyatta_update_login.pl
+++ b/scripts/system/vyatta_update_login.pl
@@ -53,8 +53,8 @@ my %reasons = (
# Map of level to additional groups
my %level_map = (
- 'admin' => [ 'quaggavty', 'vyattacfg', 'sudo', 'adm', ],
- 'operator' => [ 'quaggavty', 'operator', 'adm', ],
+ 'admin' => [ 'quaggavty', 'vyattacfg', 'sudo', 'adm', 'dip', ],
+ 'operator' => [ 'quaggavty', 'operator', 'adm', 'dip', ],
);
# we have some users