aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/pam.d/login12
-rw-r--r--examples/pam.d/passwd3
-rw-r--r--examples/pam.d/su10
-rw-r--r--examples/pam.d/system-auth8
-rw-r--r--examples/pam.d/system-login11
5 files changed, 44 insertions, 0 deletions
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
+