summaryrefslogtreecommitdiff
path: root/scripts/standalone_root_pw_reset
diff options
context:
space:
mode:
authorAlex Harpin <development@landsofshadow.co.uk>2014-10-16 20:45:03 +0100
committerAlex Harpin <development@landsofshadow.co.uk>2014-10-16 20:45:03 +0100
commit8932d8f180139828c016244d77a30691ef5277a0 (patch)
tree41b49349b956d3a1eee64ced39fe592fa4c42c85 /scripts/standalone_root_pw_reset
parent4c72c4877f5226096df4f7c15cb73c5adb93055d (diff)
downloadvyatta-cfg-system-8932d8f180139828c016244d77a30691ef5277a0.tar.gz
vyatta-cfg-system-8932d8f180139828c016244d77a30691ef5277a0.zip
vyatta-cfg-system: add complete user config entry on password reset
Add the default plaintext-password entry to the default vyos user created during password reset. Bug #342 http://bugzilla.vyos.net/show_bug.cgi?id=342
Diffstat (limited to 'scripts/standalone_root_pw_reset')
-rwxr-xr-xscripts/standalone_root_pw_reset1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/standalone_root_pw_reset b/scripts/standalone_root_pw_reset
index dc12a4d6..f3f6c565 100755
--- a/scripts/standalone_root_pw_reset
+++ b/scripts/standalone_root_pw_reset
@@ -151,6 +151,7 @@ then
user $ADMIN {\\
authentication {\\
encrypted-password \"$1$4XHPj9eT$G3ww9B/pYDLSXC8YVvazP0\"\\
+ plaintext-password \"\"\\
}\\
level admin\\
}" $CF