summaryrefslogtreecommitdiff
path: root/user/livecd-support/allow-nullpw.stop
diff options
context:
space:
mode:
Diffstat (limited to 'user/livecd-support/allow-nullpw.stop')
-rw-r--r--user/livecd-support/allow-nullpw.stop5
1 files changed, 5 insertions, 0 deletions
diff --git a/user/livecd-support/allow-nullpw.stop b/user/livecd-support/allow-nullpw.stop
new file mode 100644
index 000000000..fa6f05320
--- /dev/null
+++ b/user/livecd-support/allow-nullpw.stop
@@ -0,0 +1,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