periodic passwd change?
Erik Norgaard
norgaard at locolomo.org
Fri Dec 8 12:59:41 PST 2006
Anton Shterenlikht wrote:
> 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?
You can set it in login.conf, when the password is updated the next
expire is automatically set.
Cheers, Erik
--
Ph: +34.666334818 web: http://www.locolomo.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3408 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20061208/6502ae39/smime.bin
More information about the freebsd-questions
mailing list