summaryrefslogtreecommitdiff
path: root/extra/shadow/newusers.pamd
diff options
context:
space:
mode:
Diffstat (limited to 'extra/shadow/newusers.pamd')
-rw-r--r--extra/shadow/newusers.pamd12
1 files changed, 12 insertions, 0 deletions
diff --git a/extra/shadow/newusers.pamd b/extra/shadow/newusers.pamd
new file mode 100644
index 0000000..57f5cfa
--- /dev/null
+++ b/extra/shadow/newusers.pamd
@@ -0,0 +1,12 @@
+# Begin /etc/pam.d/chpasswd
+
+# always allow root
+auth sufficient pam_rootok.so
+
+# include system auth and account settings
+auth include system-auth
+account include system-account
+password include system-password
+
+# End /etc/pam.d/chpasswd
+