From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 30 16:03:14 2004 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E3C616A4CE for ; Mon, 30 Aug 2004 16:03:14 +0000 (GMT) Received: from shrike.submonkey.net (cpc2-cdif3-6-0-cust204.cdif.cable.ntl.com [81.103.67.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id A49D243D55 for ; Mon, 30 Aug 2004 16:03:13 +0000 (GMT) (envelope-from setantae@submonkey.net) Received: from setantae by shrike.submonkey.net with local (Exim 4.42 (FreeBSD)) id 1C1oci-000Cpi-R9; Mon, 30 Aug 2004 17:03:12 +0100 Date: Mon, 30 Aug 2004 17:03:12 +0100 From: Ceri Davies To: Maxim Konovalov Message-ID: <20040830160312.GA36133@submonkey.net> Mail-Followup-To: Ceri Davies , Maxim Konovalov , freebsd-bugs@FreeBSD.org References: <200408301440.i7UEeB2Y064735@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IJpNTDwzlM2Ie8A6" Content-Disposition: inline In-Reply-To: <200408301440.i7UEeB2Y064735@freefall.freebsd.org> X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.6i Sender: Ceri Davies cc: freebsd-bugs@FreeBSD.org Subject: Re: bin/71147: sshd(8) will allow to log into a locked account X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2004 16:03:14 -0000 --IJpNTDwzlM2Ie8A6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 30, 2004 at 02:40:11PM +0000, Maxim Konovalov wrote: > The following reply was made to PR bin/71147; it has been noted by GNATS. >=20 > From: Maxim Konovalov > To: Gleb Smirnoff > Cc: bug-followup@freebsd.org > Subject: Re: bin/71147: sshd(8) will allow to log into a locked account > Date: Mon, 30 Aug 2004 18:37:16 +0400 (MSD) >=20 > On Mon, 30 Aug 2004, 14:00-0000, Gleb Smirnoff wrote: > =20 > > The following reply was made to PR bin/71147; it has been noted by GNA= TS. > > > > From: Gleb Smirnoff > > To: Yar Tikhiy > > Cc: FreeBSD-gnats-submit@freebsd.org, des@freebsd.org > > Subject: Re: bin/71147: sshd(8) will allow to log into a locked account > > Date: Mon, 30 Aug 2004 17:50:14 +0400 > > > > On Mon, Aug 30, 2004 at 04:52:54PM +0400, Yar Tikhiy wrote: > > Y> In FreeBSD (and other BSDs,) the well-known way to lock out > > Y> a user's account is setting the user's encrypted password to > > Y> an asterisk character, `*', in master.passwd. Arguably, one > > Y> can also lock out a user by just _prefixing_ the password field > > Y> value with `*'. Anyway, sshd(8) will ignore either lock > > Y> and allow the user to log in if he authenticates himself by > > Y> means other than the Unix password, e.g., using his public key. > > > > This is not a bug, it's a feature! Any ssh (not only Open) has the > > same behavior on any unix operating system. > =20 > sshd works as expected (does not allow to login to a system) on > solaris 8. Solaris has two strings for locked out accounts: *LK* which indicates that an account is locked *NP* which indicates that an account has no password and that only other authentication mechanisms should succeed Which one works? Ceri --=20 It is not tinfoil, it is my new skin. I am a robot. --IJpNTDwzlM2Ie8A6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (FreeBSD) iD8DBQFBM0/AocfcwTS3JF8RAh2sAKCTYA4EreLcst46KR1EIpfAvbUq1wCgxQT8 f11a6dCC+JNTA6aCE59Dqx4= =5BCa -----END PGP SIGNATURE----- --IJpNTDwzlM2Ie8A6--