Enforce Password Complexity on Solaris

From Peter Pap's Technowiki
Jump to: navigation, search

Edit the following file:

 /etc/default/passwd

Follow the instructions in the file.

NOTE: This will apply to ALL users, including root! As such, if you don't keep track of it, the root password may expire and result in cron jobs not running etc. You can unexpire root but doing:

 passwd -x -1 root

This is however temporary! If you shoudl change the root password after running this command, it will reset the counter and it will expire again.