Set password to blank rather than the arbitrary 'phablet'

ubuntu/yakkety
Michael Terry 11 years ago
parent cd7609b231
commit 6821cae1d7

@ -6,8 +6,8 @@ UGID=32011
echo "I: creating default user $USER" echo "I: creating default user $USER"
adduser --gecos $USER --disabled-login $USER --uid $UGID adduser --gecos $USER --disabled-login $USER --uid $UGID
echo "I: set user $USER password to $USER" echo "I: set user $USER password to blank"
echo "$USER:$USER" | chpasswd passwd -d $USER
echo "I: allowing user to log in without password" echo "I: allowing user to log in without password"
gpasswd -a $USER nopasswdlogin gpasswd -a $USER nopasswdlogin

Loading…
Cancel
Save