Password Policy Implementation - Password Length
I have Oracle Linux 7.6 (Unbreakable) and wanted to configured Password Policy according to my organization therefore I have altered three files 1. Login.defs 2. Pwquality.conf 3. system-auth.
In Login.defs i have changed the value
PASS_MAX_DAYS = 3 PASS_MIN_DAYS = 1 PASS_MIN_LEN = 9 PASS_WARN_AGE 1
Pwquality
minlen = 9 minclass = 2 minrepeat = 2
System-auth
added line after Password sufficient remember=3
Problem :
Password aging is working fine let's say the user prompt to change the password after expiry time duration but length parameters are not working fine like i can set 7 character password and same prompt for me.
oot@localhost:~[?1034h[root@localhost ~]# chage -l user7