Allow weak passwords

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

@ -12,6 +12,9 @@ passwd -d $USER
echo "I: allowing user to log in without password"
gpasswd -a $USER nopasswdlogin
# Allow user to have weak passwords, like a PIN generally is
sed -i 's/pam_unix.so obscure/pam_unix.so/' /etc/pam.d/common-password
adduser --gecos system --no-create-home --disabled-login --disabled-password system --uid 1000
adduser --gecos radio --no-create-home --disabled-login --disabled-password radio --uid 1001

Loading…
Cancel
Save