Solaris set user password problem

The Solaris command to set user passwords is passwd. But the default password will have length and special character requirements. If you encounter the following errors, you can solve them by modifying /etc/default/passwd.


Error
Password too short - must be at least 6 characters

Modified place (reduce the length)
PASSLENGTH=3

Error
The password must contain at least 1 numeric or special character(s).

Modified place (comment the following 2 lines Release)
MINSPECIAL=0
MINDIGIT=0

Error
Password cannot be circular shift of logonid.

Modified place (release the following 1 line comment)
NAMECHECK=NO

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327033472&siteId=291194637