summaryrefslogtreecommitdiff
path: root/scripts/standalone_root_pw_reset
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2013-11-03 14:11:17 +0100
committerDaniil Baturin <daniil@baturin.org>2013-11-03 14:11:17 +0100
commit36623f5e7fe8702a8ef7073b97fc31dbda2441ea (patch)
tree82a736019ae32e4a31c9868bf9590942333e65e4 /scripts/standalone_root_pw_reset
parentc8d04152f9df266f29470e65acbc81cbaffd0509 (diff)
downloadvyatta-cfg-system-36623f5e7fe8702a8ef7073b97fc31dbda2441ea.tar.gz
vyatta-cfg-system-36623f5e7fe8702a8ef7073b97fc31dbda2441ea.zip
Bug #55: fix user name in password reset script.
Also remove a Vyatta occurence.
Diffstat (limited to 'scripts/standalone_root_pw_reset')
-rwxr-xr-xscripts/standalone_root_pw_reset4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/standalone_root_pw_reset b/scripts/standalone_root_pw_reset
index e64b125d..910a141d 100755
--- a/scripts/standalone_root_pw_reset
+++ b/scripts/standalone_root_pw_reset
@@ -24,7 +24,7 @@
CF=/opt/vyatta/etc/config/config.boot
# Admin user name
-ADMIN=vyatta
+ADMIN=vyos
set_encrypted_password() {
sed -i \
@@ -117,7 +117,7 @@ then dead "Missing password file"
fi
if [ ! -d /opt/vyatta/etc/config ]
-then dead "Missing Vyatta config directory /opt/vyatta/etc/config"
+then dead "Missing VyOS config directory /opt/vyatta/etc/config"
fi
# Leftover from V3.0