password expiry

Matthew Seaman m.seaman at infracaninophile.co.uk
Thu May 13 04:19:11 PDT 2004


On Thu, May 13, 2004 at 12:59:58PM +0200, Piotr Gnyp wrote:
> I`m trying to set password expiry for users, I`ve changed login.conf to:
>         :minpasswordlen=6:\
>         :passwordtime=30d:\
>         :warnpassword=1w:\
> 
> But it doesn`t seem to work. What I`m missing, or where I will find the
> answer. Plase advice.

    # cap_mkdb /etc/login.conf

perhaps?  Remember too that login.conf is only consulted at login
time, so you have to log out and back in again in order to see any
effects.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040513/da807e1c/attachment.bin


More information about the freebsd-questions mailing list