Apr 9

Along the same lines as Forcing a password change in Linux, here is how to force a user to change their password in Solaris. Using the passwd command (as root), through a -f flag on and the user will be stuck in change-me land until they can get that 8 character password together.

passwd -f $USER

It’s just that simple.

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.