From owner-freebsd-questions Wed Nov 13 11:48:24 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 003E637B401 for ; Wed, 13 Nov 2002 11:48:23 -0800 (PST) Received: from nox.cx (nox.cx [216.12.18.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E5E643E42 for ; Wed, 13 Nov 2002 11:48:23 -0800 (PST) (envelope-from zakj@nox.cx) Received: (qmail 47872 invoked by uid 1000); 13 Nov 2002 19:48:28 -0000 Date: Wed, 13 Nov 2002 14:48:28 -0500 From: Zak Johnson To: freebsd-questions@freebsd.org Subject: Re: OpenSSH and password expiry Message-ID: <20021113194828.GB47716@opiate.nox.cx> References: <20021112234347.GA44490@opiate.nox.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021112234347.GA44490@opiate.nox.cx> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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