|
Size: 204
Comment:
|
Size: 445
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 9: | Line 9: |
''' # tail -2 system-auth ''' {{{ # 2022-11-16 added by Merlin password requisite pam_pwquality.so try_first_pass local_users_only retry=3 authtok_type= minlen=8 lcredit=-1 ucredit=-1 dcredit=-4 ocredit=-1 enforce_for_root }}} |
Describe désert/workarea/2022-11-16 here.
Step 1: 备份etc目录配制
tar -zcvf etc_$(date +%F).tar.gz /etc/
Step 2: 修改/etc/pam.d目录中的system-auto文件为指定的参数
# tail -2 system-auth
# 2022-11-16 added by Merlin password requisite pam_pwquality.so try_first_pass local_users_only retry=3 authtok_type= minlen=8 lcredit=-1 ucredit=-1 dcredit=-4 ocredit=-1 enforce_for_root
