password expiry
Piotr Gnyp
toread at discordia.pl
Thu May 13 04:22:52 PDT 2004
On Thu, 13 May 2004, Matthew Seaman <m.seaman at 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.
More information about the freebsd-questions
mailing list