How to set the password policy and lockout policy
I want to know the password policy and lockout policy,such as min length,complex requirement.lockout counter
|
AFAIK it's /etc/login.defs which is deprecated on PAM enabled systems (/etc/pam.d).
|
Quote:
for example : password required pam_passwdqc.so min=disabled,12,8,6,5 max=40 |
For locking out users after a certain number of failures, look at pam_tally. Also look at man 8 faillog.
|
smartyshan, please don't resurrect dead threads — help us keep LQSEC as zombie-free as possible.
|
All times are GMT -5. The time now is 03:52 PM. |