mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2025-06-26 06:52:01 +02:00
Make read silent for password entries
This commit is contained in:
parent
831f5fc82f
commit
2a83419196
@ -68,8 +68,8 @@ else
|
||||
if [ $installusername != $userName ]; then
|
||||
echo "This will create a hashedPassword for the new user in the options file."
|
||||
while true; do
|
||||
read -p "Enter New User Password: " newPass
|
||||
read -p "Enter New User Password Again: " newPass2
|
||||
read -s -p "Enter New User Password: " newPass
|
||||
read -s -p "Enter New User Password Again: " newPass2
|
||||
if [ $newPass == $newPass2 ]; then
|
||||
echo "Passwords Match. Setting password."
|
||||
userPassword=$(mkpasswd -m sha-512 $newPass)
|
||||
|
Loading…
x
Reference in New Issue
Block a user