Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 May 2004 13:22:45 +0200 (CEST)
From:      Piotr Gnyp <toread@discordia.pl>
To:        questions@freebsd.org
Subject:   Re: password expiry
Message-ID:  <Pine.BSF.4.58.0405131320410.94580@discordia.pl>
In-Reply-To: <20040513111846.GC39379@happy-idiot-talk.infracaninophile.co.uk>
References:  <Pine.BSF.4.58.0405131258380.94580@discordia.pl> <20040513111846.GC39379@happy-idiot-talk.infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 13 May 2004, Matthew Seaman <m.seaman@infracaninophile.co.uk> wrote:

> 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.

done that, and also I`ve added to sshd_conf:
UseLogin yes
And no effect.

Tried on 5.2.1-R-p6 and 4.10-PRER.



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