[18508] in Athena Bugs
Re: sun4 8.4.17: sshd
daemon@ATHENA.MIT.EDU (Karl Ramm)
Wed Nov 15 01:47:37 2000
To: Brad Thompson <yak@MIT.EDU>
Cc: bugs@MIT.EDU
From: Karl Ramm <kcr@1ts.org>
Date: 15 Nov 2000 01:47:34 -0500
In-Reply-To: Brad Thompson's message of "Wed, 15 Nov 2000 01:27:46 -0500"
Message-Id: <uusaeb1iveh.fsf@ORTHANC.MIT.EDU>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
If /etc/passwd and /etc/shadow are inconsistent, i.e. if there is an entry
in one but not the other, then there is no entry as far as the C library
(getpwnam, et al.) is concerned. This is known behavior for Solaris.
kcr
Brad Thompson <yak@MIT.EDU> writes:
> System name: manatee.mit.edu
> Type and version: SPARC/5 8.4.17 (with mkserv)
> Display type: cgthree
>
> Shell: /bin/athena/bash
> Window manager: unknown
>
> What were you trying to do?
> ssh to a a sun (bart-savagewood).
>
> What's wrong:
> I had a "x" in the password field in /etc/passwd,
> but no shadow entry. I tried to ssh in, and it would
> not take my password or do kerberos authentication.
>
> What should have happened:
> The password check clearly should have failed; /etc/shadow and
> /etc/passwd were inconsistent. It seems that kerberos should
> have worked, because it (I believe) tries that first. I fixed
> /etc/passwd, and was able to log in fine.
>
> I am only bothering to report this because it might be
> symtomatic of a real bug; there is no reason to fix this
> behavior for its own sake.