summaryrefslogtreecommitdiff
path: root/system/linux-pam/base-password.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-password.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-password.pamd')
-rw-r--r--system/linux-pam/base-password.pamd6
1 files changed, 4 insertions, 2 deletions
diff --git a/system/linux-pam/base-password.pamd b/system/linux-pam/base-password.pamd
index a146a93fe..72065a2dc 100644
--- a/system/linux-pam/base-password.pamd
+++ b/system/linux-pam/base-password.pamd
@@ -1,3 +1,5 @@
-# basic PAM configuration for Alpine.
+# Welcome to Adélie Linux.
-password required pam_unix.so nullok obscure md5 sha512
+# This file contains the system-wide PAM configuration for passwords.
+
+password required pam_unix.so obscure sha512 minlen=8