mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-23 03:11:12 +00:00
Set password to blank rather than the arbitrary 'phablet'
This commit is contained in:
parent
cd7609b231
commit
6821cae1d7
@ -6,8 +6,8 @@ UGID=32011
|
||||
echo "I: creating default user $USER"
|
||||
adduser --gecos $USER --disabled-login $USER --uid $UGID
|
||||
|
||||
echo "I: set user $USER password to $USER"
|
||||
echo "$USER:$USER" | chpasswd
|
||||
echo "I: set user $USER password to blank"
|
||||
passwd -d $USER
|
||||
|
||||
echo "I: allowing user to log in without password"
|
||||
gpasswd -a $USER nopasswdlogin
|
||||
|
Loading…
x
Reference in New Issue
Block a user