Solaris Naming Administration Guide

Forcing Users to Change Passwords

There are two ways to force a user to change passwords the next time the user logs in:

Force change keeping password aging rules in effect


passwd -f username

Force change and turn off password aging rules


passwd -x 0 username