From bce4ac0f65ffb8bedcdcbdb94eb796457b12f9e1 Mon Sep 17 00:00:00 2001 From: davidovski Date: Mon, 11 Apr 2022 13:30:34 +0100 Subject: added files for pam and shadow --- extra/pam/other.pamd | 11 +++++++++++ extra/pam/system-account.pamd | 1 + extra/pam/system-auth.pamd | 2 ++ extra/pam/system-password.pamd | 3 +++ extra/pam/system-session.pamd | 3 +++ 5 files changed, 20 insertions(+) create mode 100644 extra/pam/other.pamd create mode 100644 extra/pam/system-account.pamd create mode 100644 extra/pam/system-auth.pamd create mode 100644 extra/pam/system-password.pamd create mode 100644 extra/pam/system-session.pamd (limited to 'extra/pam') 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 + -- cgit v1.2.1