diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-10-27 16:18:45 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-10-27 16:18:45 -0700 |
commit | 0f62025ad48e9a50299dea4cbce8640b1fc973d6 (patch) | |
tree | 926df86ce45841512a19a82c8bc0569a43eaa271 /scripts/standalone_root_pw_reset | |
parent | 1b0ad6073975f6a728d2fce1a266f22636f574cb (diff) | |
download | vyatta-cfg-quagga-0f62025ad48e9a50299dea4cbce8640b1fc973d6.tar.gz vyatta-cfg-quagga-0f62025ad48e9a50299dea4cbce8640b1fc973d6.zip |
Make stanalone passwd reset work
Diffstat (limited to 'scripts/standalone_root_pw_reset')
-rwxr-xr-x | scripts/standalone_root_pw_reset | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/standalone_root_pw_reset b/scripts/standalone_root_pw_reset index 34113129..715c67fc 100755 --- a/scripts/standalone_root_pw_reset +++ b/scripts/standalone_root_pw_reset @@ -65,7 +65,7 @@ fi # OK, now we know we are running in standalone mode. Talk to the # user. # -echo "Do you wish to reset the root password" +echo "Do you wish to change the root password" echo -n "to the original default value (vyatta)? (Yes/No) [No]: " read response response=${response:0:1} @@ -96,6 +96,8 @@ cp $CF ${CF}.before_pwrecovery echo "Setting the root password..." +change_password root + echo $(date "+%b%e %T") $(hostname) "Root password changed" \ | tee -a /var/log/auth.log >>/var/log/messages |