Do you have some Chage?

Posted by hardwarehank, Mon Aug 14 03:07:56 UTC 2006

This makes it so the user has to change their password on login:


# chage -M 1 <user>
# chage -d 1 <user>

Make sure to set -M back to normal afterwards


# chage -M 99999 <user>

This makes it so easy. Too bad it’s named like saying ”’change”’ with a cold…

Tags:

Comments

Have your say

A name is required. You may use Markdown in your comments.