summaryrefslogtreecommitdiff
path: root/system/linux-pam/base-auth.pamd
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-05-08 23:50:33 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-05-08 23:50:33 +0000
commit70e535f4073f219b6905fe82326ac1563d5c09ad (patch)
tree5a9ba9801d7ce6b9bb75e912789bf5d7315f5aa1 /system/linux-pam/base-auth.pamd
parent9e76c2f03a2152530fb2e5936b77e288311ced57 (diff)
downloadpackages-70e535f4073f219b6905fe82326ac1563d5c09ad.tar.gz
packages-70e535f4073f219b6905fe82326ac1563d5c09ad.tar.bz2
packages-70e535f4073f219b6905fe82326ac1563d5c09ad.tar.xz
packages-70e535f4073f219b6905fe82326ac1563d5c09ad.zip
user/linux-pam: harden configuration
Refuse to allow logins for accounts with no password.
Diffstat (limited to 'system/linux-pam/base-auth.pamd')
-rw-r--r--system/linux-pam/base-auth.pamd6
1 files changed, 4 insertions, 2 deletions
diff --git a/system/linux-pam/base-auth.pamd b/system/linux-pam/base-auth.pamd
index 012445aa3..8c7847a43 100644
--- a/system/linux-pam/base-auth.pamd
+++ b/system/linux-pam/base-auth.pamd
@@ -1,5 +1,7 @@
-# basic PAM configuration for Alpine.
+# Welcome to Adélie Linux.
+
+# This file contains the system-wide PAM configuration for authentication.
auth required pam_env.so
-auth required pam_unix.so nullok_secure
+auth required pam_unix.so
auth required pam_nologin.so successok