aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeraphim Mellos <mellos@ceid.upatras.gr>2008-08-17 11:23:01 +0300
committerSeraphim Mellos <mellos@ceid.upatras.gr>2008-08-17 11:23:01 +0300
commit821a37ad1a2a084c13ac7c0086bd6d1e737b78c4 (patch)
treeaf4afee1ca3cec46906d74db8bee3595492d7bea /examples
parentUpdated Makefiles again for man docs (diff)
downloadopenpam-modules-master.tar.gz
openpam-modules-master.tar.bz2
openpam-modules-master.zip
Added example pam.d/ conf filesHEADmaster
Diffstat (limited to 'examples')
-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
+