summaryrefslogtreecommitdiff
path: root/extra/pam
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-04-11 13:30:34 +0100
committerdavidovski <david@davidovski.xyz>2022-04-11 13:30:34 +0100
commitbce4ac0f65ffb8bedcdcbdb94eb796457b12f9e1 (patch)
tree5070b9f21b192e6aa0f2a92584a7cbbc6a00d68c /extra/pam
parent65f2daa1e41f38db5e29a73af9c02d6c390b1d24 (diff)
added files for pam and shadow
Diffstat (limited to 'extra/pam')
-rw-r--r--extra/pam/other.pamd11
-rw-r--r--extra/pam/system-account.pamd1
-rw-r--r--extra/pam/system-auth.pamd2
-rw-r--r--extra/pam/system-password.pamd3
-rw-r--r--extra/pam/system-session.pamd3
5 files changed, 20 insertions, 0 deletions
diff --git a/extra/pam/other.pamd b/extra/pam/other.pamd
new file mode 100644
index 0000000..20bdb74
--- /dev/null
+++ b/extra/pam/other.pamd
@@ -0,0 +1,11 @@
+
+auth required pam_warn.so
+auth required pam_deny.so
+account required pam_warn.so
+account required pam_deny.so
+password required pam_warn.so
+password required pam_deny.so
+session required pam_warn.so
+session required pam_deny.so
+
+
diff --git a/extra/pam/system-account.pamd b/extra/pam/system-account.pamd
new file mode 100644
index 0000000..b36f26d
--- /dev/null
+++ b/extra/pam/system-account.pamd
@@ -0,0 +1 @@
+account required pam_unix.so
diff --git a/extra/pam/system-auth.pamd b/extra/pam/system-auth.pamd
new file mode 100644
index 0000000..5f85baf
--- /dev/null
+++ b/extra/pam/system-auth.pamd
@@ -0,0 +1,2 @@
+auth required pam_unix.so
+
diff --git a/extra/pam/system-password.pamd b/extra/pam/system-password.pamd
new file mode 100644
index 0000000..56d5122
--- /dev/null
+++ b/extra/pam/system-password.pamd
@@ -0,0 +1,3 @@
+# basic PAM configuration for Alpine.
+
+password required pam_unix.so nullok md5 sha512 shadow try_first_pass
diff --git a/extra/pam/system-session.pamd b/extra/pam/system-session.pamd
new file mode 100644
index 0000000..5e25d29
--- /dev/null
+++ b/extra/pam/system-session.pamd
@@ -0,0 +1,3 @@
+
+session required pam_unix.so
+