summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/standalone_root_pw_reset4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/standalone_root_pw_reset b/scripts/standalone_root_pw_reset
index d3b9ed2e..1a73de71 100755
--- a/scripts/standalone_root_pw_reset
+++ b/scripts/standalone_root_pw_reset
@@ -108,6 +108,10 @@ if [ "$response" != "y" -a "$response" != "Y" ]; then
/sbin/reboot -f
fi
+echo -en "Which admin account do you want to reset? [$ADMIN] "
+read admin_user
+ADMIN=${admin_user:-$ADMIN}
+
echo "Starting process to reset the admin password..."
echo "Re-mounting root filesystem read/write..."