From 163f7909087afc617a78349c446d8eed1a6ae39d Mon Sep 17 00:00:00 2001 From: Matthias Hentges Date: Wed, 12 Apr 2006 14:35:29 +0000 Subject: altboot: Do not echo the password when entering init=/bin/sh --- packages/altboot/files/altboot.func | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'packages/altboot/files') diff --git a/packages/altboot/files/altboot.func b/packages/altboot/files/altboot.func index f87cef48cd..31704e4029 100644 --- a/packages/altboot/files/altboot.func +++ b/packages/altboot/files/altboot.func @@ -372,14 +372,16 @@ verify_master_pw() { then auth_timeout="3" - echo "Please enter your altboot master password" + echo -e "\nPlease enter your altboot master password" cnt=0 while true do let cnt=$cnt+$auth_timeout echo -n "Password: " + stty -echo read junk < /dev/tty0 + stty echo if test "`echo "$junk" | md5sum | awk '{print $1}'`" = "$MASTER_PASSWORD" then @@ -396,6 +398,8 @@ verify_master_pw() { # fi fi done + + echo "" fi } -- cgit v1.2.3