mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-22 19:01:30 +00:00
and allow minimum length of 4
This commit is contained in:
parent
28f16fd7d6
commit
422787d8ff
@ -13,7 +13,7 @@ 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
|
||||
sed -i 's/pam_unix.so obscure/pam_unix.so minlen=4/' /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…
x
Reference in New Issue
Block a user