Enforce Password Complexity on Solaris
From Peter Pap's Technowiki
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