]> git.cameronkatri.com Git - pw-darwin.git/blobdiff - adduser/adduser.sh
Assume manpages are compressed with zst
[pw-darwin.git] / adduser / adduser.sh
index 5f80d77f7ca65bfaa9fd3e986ccf63e535516901..b9abd81e9eca9380e63e9cdfa86d907d342cb6e8 100644 (file)
@@ -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=