hi folk,
i try to setup a new password policy for our solaris box user, below are the /etc/default/passwd/, but then when i tried to create a user, it didn't ask for numeric character, and the new password also didn't ask for special characters.
PHP Code:
# useradd testing
# passwd testing
New Password:
Re-enter new Password:
passwd: password successfully changed for testing
useradd <<<<<< error, it didnt ask for any special character, the username should has 1 numberic or special characters
passwd <<<< error, it didnt ask for any special character, the password should contains special characters
please helps ?
PHP Code:
MINALPHA=4
MINDIFF=7
MINDIGIT=1
MINSPECIAL=1
MINUPPER=2
MINLOWER=2
MAXREPEATS=1
WHITESPACE=YES
NAMECHECK=YES
DICTIONDBDIR=/var/passwd
DICTIONLIST=/usr/share/lib/dict/words
HISTORY=12
MINWEEKS=NONE
MAXWEEKS=4
WARNWEEKS=NONE
PASSLENGTH=8