Reinstall shadow after PAM
[hvlinux.git] / stage3 / misc / shadow-pam.d / chage
diff --git a/stage3/misc/shadow-pam.d/chage b/stage3/misc/shadow-pam.d/chage
new file mode 100644 (file)
index 0000000..70d1535
--- /dev/null
@@ -0,0 +1,14 @@
+#Begin /etc/pam.d/chage
+
+# always allow root
+auth      sufficient  pam_rootok.so
+
+# include system defaults for auth account and session
+auth      include     system-auth
+account   include     system-account
+session   include     system-session
+
+# Always permit for authentication updates
+password  required    pam_permit.so
+
+# End /etc/pam.d/chage