fix(installer): show password input in plain text

Remove -s flag from read so the password is visible while typing,
enabling piped input to work visibly on the ISO installer.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
main
Amir Alexander Abdelbaki 2026-05-21 20:45:17 +02:00
parent fb4cef6a09
commit dbb1be0081
2 changed files with 2 additions and 2 deletions

View File

@ -190,7 +190,7 @@ else
fi
# Password always prompted — never stored in answerfile
read -rsp "Enter password for $USERNAME: " USERPASS; echo
read -rp "Enter password for $USERNAME: " USERPASS
[[ -z "$USERPASS" ]] && { echo "Error: password cannot be empty."; exit 1; }
if ! $AF_MODE; then

View File

@ -174,7 +174,7 @@ else
fi
fi
read -rsp "Password for $USERNAME: " USERPASS; echo
read -rp "Password for $USERNAME: " USERPASS
[[ -z "$USERPASS" ]] && { echo "Error: password cannot be empty."; exit 1; }
lsblk