X-Git-Url: https://git.cameronkatri.com/pw-darwin.git/blobdiff_plain/dfbdc8a51b65827faa66e5f333715d340ed92d0c..a7ab628cc9c2656a3d2f7d8c2b1fae9aeafae272:/adduser/adduser.sh diff --git a/adduser/adduser.sh b/adduser/adduser.sh index 5f80d77..b9abd81 100644 --- a/adduser/adduser.sh +++ b/adduser/adduser.sh @@ -733,10 +733,10 @@ input_interactive() { trap 'stty echo; exit' 0 1 2 3 15 stty -echo echo -n "Enter password: " - read -r upass + IFS= read -r upass echo'' echo -n "Enter password again: " - read -r _passconfirm + IFS= read -r _passconfirm echo '' stty echo # if user entered a blank password @@ -877,7 +877,7 @@ disableflag= Dflag= Sflag= readconfig="yes" -homeprefix="/home" +homeprefix="/var" randompass= fileline= savedpwtype=