periodic passwd change?

Anton Shterenlikht mexas at bristol.ac.uk
Thu Dec 7 06:30:00 PST 2006


	I can't see how to prescribe periodic passwd change,
only how to set expiry time. At the moment I put the following
line in the root's crontab:

2 2 2 * * pw usermod shterenl -p "`date '+\%d-\%m-\%Y'`"

This makes a user's passwd expire once a month.

Is there a better way to force users change their passwds periodically?

thanks
anton


More information about the freebsd-questions mailing list