bin/71147: sshd(8) will allow to log into a locked account
Ceri Davies
ceri at submonkey.net
Mon Aug 30 09:03:14 PDT 2004
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.
>
> From: Maxim Konovalov <maxim at macomnet.ru>
> To: Gleb Smirnoff <glebius at freebsd.org>
> Cc: bug-followup at 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)
>
> On Mon, 30 Aug 2004, 14:00-0000, Gleb Smirnoff wrote:
>
> > The following reply was made to PR bin/71147; it has been noted by GNATS.
> >
> > From: Gleb Smirnoff <glebius at freebsd.org>
> > To: Yar Tikhiy <yar at comp.chem.msu.su>
> > Cc: FreeBSD-gnats-submit at freebsd.org, des at 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.
>
> 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
--
It is not tinfoil, it is my new skin. I am a robot.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-bugs/attachments/20040830/4c584c38/attachment.bin
More information about the freebsd-bugs
mailing list