summaryrefslogtreecommitdiff
path: root/pam.d/linuxconf-pair
diff options
context:
space:
mode:
Diffstat (limited to 'pam.d/linuxconf-pair')
-rw-r--r--pam.d/linuxconf-pair14
1 files changed, 14 insertions, 0 deletions
diff --git a/pam.d/linuxconf-pair b/pam.d/linuxconf-pair
new file mode 100644
index 0000000..194d61d
--- /dev/null
+++ b/pam.d/linuxconf-pair
@@ -0,0 +1,14 @@
+#%PAM-1.0
+
+# You can change this file, but anything other than prompting the user
+# for a password is added to the stack, authentication will always fail.
+# Linuxconf only uses this stack for protocol authentication of a
+# username/password pair.
+# For all other authentication, it uses the linuxconf service.
+# For password changing, it uses the passwd service, so it will
+# conveniently share your configuration for the passwd program.
+
+auth sufficient /lib/security/pam_ldap.so
+auth required /lib/security/pam_unix_auth.so try_first_pass
+account sufficient /lib/security/pam_ldap.so
+account required /lib/security/pam_unix_acct.so