Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Dec 2006 14:24:39 +0000
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        freebsd-questions@freebsd.org
Subject:   periodic passwd change?
Message-ID:  <20061207142439.GA20896@mech-aslap33.men.bris.ac.uk>

next in thread | raw e-mail | index | archive | help
	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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061207142439.GA20896>