Lines Matching +full:common +full:- +full:password
2 #-
30 . $BSDCFG_SHARE/common.subr || exit 1
32 if [ -n "$ROOTPASS_ENC" ]; then
33 printf '%s\n' "$ROOTPASS_ENC" | pw -R $BSDINSTALL_CHROOT usermod root -H 0
35 elif [ -n "$ROOTPASS_PLAIN" ]; then
36 printf '%s\n' "$ROOTPASS_PLAIN" | pw -R $BSDINSTALL_CHROOT usermod root -h 0
46 echo "The password cannot be empty"
92 output=$(bsddialog --backtitle "$OSNAME Installer" \
93 --title "Set $username password" \
94 --cancel-label "Skip" \
95 --passwordform --insecure \
96 "Please select a password for the system management account ($username)
99 "Password" 0 0 '' 0 17 32 32 \
100 "Repeat password" 1 0 '' 1 17 32 32 \
103 exec 5>&-
104 [ $res -eq $BSDDIALOG_OK ] || exit 0
106 echo -n "$output" | (read password1
108 [ -n "$password1" -o -n "$password2" ] || exit 62
111 /usr/sbin/pw usermod "$username" -h 0
114 [ $err -eq 0 ] && exit 0