![PAM 大师帮助解释系统身份验证密码身份验证 RHEL 7](https://linux22.com/image/197625/PAM%20%E5%A4%A7%E2%80%8B%E2%80%8B%E5%B8%88%E5%B8%AE%E5%8A%A9%E8%A7%A3%E9%87%8A%E7%B3%BB%E7%BB%9F%E8%BA%AB%E4%BB%BD%E9%AA%8C%E8%AF%81%E5%AF%86%E7%A0%81%E8%BA%AB%E4%BB%BD%E9%AA%8C%E8%AF%81%20RHEL%207.png)
我有一个 RHEL 7.9 系统,当前具有相同的system-auth
文件,password-auth
位于/etc/pam.d/
.该文件是
auth required pam_faillock.so preauth audit deny=3 even_deny_root fail_interval=900 unlock_time=900
auth sufficient pam_unix.so try_first_pass
auth [default=die] pam_faillock.so authfail audit deny=3 even_deny_root fail_interval=900 unlock_time=900
auth required pam_env.so
auth required pam_faildelay.so delay=2000000
auth sufficient pam_unix.so try_first_pass
auth requisite pam_succeed_if.so uid >= 1000 quiet_success
auth required pam_deny.so
account required pam_faillock.so
account required pam_unix.so
account sufficient pam_localuser.so
account sufficient pam_succeed_if.so uid < 1000 quiet
account required pam_permit.so
#password requisite pam_pwquality.so local_users_only retry=3 minlen=12 gecoscheck maxrepeat=3
password requisite pam_pwquality.so local_users_only retry=3 gecoscheck maxrepeat=3
password required pam_pwhistory.so remember=5 use_authtok
password sufficient pam_unix.so sha512 shadow use_authtok
password required pam_deny.so
session optional pam_keyinit.so revoke
session required pam_limits.so
-session optional pam_systemd.so
session [success=1 default=ignore] pam_succeed_if.so service in crond quiet use_uid
session required pam_unix.so
- 有人可以用可以理解的英语解释到底发生了什么吗?
- 是否有任何不良或不正确的物品?
- 当在{ and for minlen }中定义
minlen=12
and时,它们有什么用途吗?maxrepeat=3
/etc/security/pwquality.conf
/etc/login.defs