How do I disable password aging To disable password aging for a single user do the following as root. # passwd -x -1 guest This disables password aging for the guest login. To disable password aging for all users on the system do the following as root. # defadm passwd MAXWEEKS=-1 # defadm passwd MAXWEEKS=-1 MINWEEKS=0 WARNWEEKS=1 PASSLENGTH=6 This sets MAXWEEKS to -1. MAXWEEKS determines the how long passwords are good for before they expire. This only will apply to new users or people who change their passwords after this. To disable password aging on current users you must do the following per user. # passwd -x -1 If you wish to do this quicker you can do this which will run "passwd -x -1" on each user. # for a in `cut -f1 -d: /etc/passwd | egrep -v "\+" `; do passwd -x -1 $a; done This filters out NIS users (that have "+" in their login names). For more information see defadm(1), passwd(1), and passwd(4).