summaryrefslogtreecommitdiff
path: root/user/livecd-support/allow-nullpw.stop
blob: fa6f05320400c6ba8d2a75dec15dd4e0aeaf4d46 (plain) (blame)
1
2
3
4
5
#!/bin/sh
# Welcome to Adélie Linux.
# This script undoes the null-password change when the system goes down.

sed -i 's/pam_unix.so nullok_secure$/pam_unix.so/' /etc/pam.d/base-auth