Hello Friends
I was running Solaris 11.3 x86.
Below is my configuration to set password Constraints.
more /etc/default/passwd
MAXWEEKS=4
MINWEEKS=1
WARNWEEKS=1
PASSLENGTH=8
NAMECHECK=YES
HISTORY=4
MINDIFF=3
MINALPHA=2
MINNONALPHA=1
MINUPPER=1
MINLOWER=1
MAXREPEATS=2
MINSPECIAL=0
MINDIGIT=1
WHITESPACE=YES
DICTIONLIST=/usr/share/lib/dict/words
DICTIONDBDIR=/var/passwd
#DICTIONMINWORDLENGTH=3
more /etc/pam.conf
other password required pam_dhkeys.so.1
other password requisite pam_authtok_get.so.1
other password requisite pam_authtok_check.so.1
other password required pam_authtok_store.so.1
more /etc/shadow
test123:$5$d0RtrmM4$dKEvxqLSUDvMpjVy5l8nrg/42cBdqzlsff3lGlaYte9:17052:7:28:7:::
Still I am able to set even single digit as password to any account, even though PASSLENGTH is configured as 8.
root@test:~# passwd test123
New Password:
Re-enter new Password:
passwd: password successfully changed for test123
root@test:~#
Can anybody with experience on this help in figuring out the issue. Where else do I need to do configuration to have /etc/default/passwd related constraints effective.
Thanks in advance