From 821a37ad1a2a084c13ac7c0086bd6d1e737b78c4 Mon Sep 17 00:00:00 2001 From: Seraphim Mellos Date: Sun, 17 Aug 2008 11:23:01 +0300 Subject: Added example pam.d/ conf files --- examples/pam.d/login | 12 ++++++++++++ examples/pam.d/passwd | 3 +++ examples/pam.d/su | 10 ++++++++++ examples/pam.d/system-auth | 8 ++++++++ examples/pam.d/system-login | 11 +++++++++++ 5 files changed, 44 insertions(+) create mode 100644 examples/pam.d/login create mode 100644 examples/pam.d/passwd create mode 100644 examples/pam.d/su create mode 100644 examples/pam.d/system-auth create mode 100644 examples/pam.d/system-login diff --git a/examples/pam.d/login b/examples/pam.d/login new file mode 100644 index 0000000..80f9f1d --- /dev/null +++ b/examples/pam.d/login @@ -0,0 +1,12 @@ + +auth required pam_securetty.so +auth required pam_shells.so +auth required pam_nologin.so +auth include system-auth + +account include system-auth + +password include system-auth + +session include system-auth + diff --git a/examples/pam.d/passwd b/examples/pam.d/passwd new file mode 100644 index 0000000..0e8191a --- /dev/null +++ b/examples/pam.d/passwd @@ -0,0 +1,3 @@ +auth include system-auth +account include system-auth +password include system-auth diff --git a/examples/pam.d/su b/examples/pam.d/su new file mode 100644 index 0000000..aa897d7 --- /dev/null +++ b/examples/pam.d/su @@ -0,0 +1,10 @@ +auth sufficient pam_rootok.so +auth required pam_wheel.so use_uid +auth include system-auth + +account include system-auth + +password include system-auth + +session include system-auth + diff --git a/examples/pam.d/system-auth b/examples/pam.d/system-auth new file mode 100644 index 0000000..5c5ef10 --- /dev/null +++ b/examples/pam.d/system-auth @@ -0,0 +1,8 @@ +auth required pam_unix.so try_first_pass nullok + +account required pam_unix.so + +password required pam_unix.so try_first_pass use_authtok nullok md5 shadow + +session required pam_unix.so + diff --git a/examples/pam.d/system-login b/examples/pam.d/system-login new file mode 100644 index 0000000..e31d7f1 --- /dev/null +++ b/examples/pam.d/system-login @@ -0,0 +1,11 @@ +auth required pam_shells.so +auth required pam_nologin.so +auth include system-auth + +account required pam_nologin.so +account include system-auth + +password include system-auth + +session include system-auth + -- cgit v1.2.3-65-gdbad