Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2002 14:48:28 -0500
From:      Zak Johnson <zakj@nox.cx>
To:        freebsd-questions@freebsd.org
Subject:   Re: OpenSSH and password expiry
Message-ID:  <20021113194828.GB47716@opiate.nox.cx>
In-Reply-To: <20021112234347.GA44490@opiate.nox.cx>
References:  <20021112234347.GA44490@opiate.nox.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 12, 2002 at 06:43:47PM -0500, Zak Johnson wrote:
> I want to force new users to change their passwords immediately upon
> first login.  I set the "change" field in master.passwd to 1 (via pw
> useradd ... -p 1).  Logging in via login(1) works as expected---the user
> is prompted to change the password and then logs in as usual.  However,
> my users only connect via ssh, which instead yields the following logs:

To answer my own question: the code for handling expired passwords has
been commented out of OpenSSH since 3.1; there are rumours on the list
that it may be fixed by 3.6.

-Zak

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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