[2195] in linux-net channel archive

home help back first fref pref prev next nref lref last post

Re: NIS: Linux client and AIX server

daemon@ATHENA.MIT.EDU (Swen Thuemmler)
Thu Mar 21 08:05:29 1996

Date: 	Thu, 21 Mar 1996 14:01:04 +0100 (MET)
From: Swen Thuemmler <swen@uni-paderborn.de>
To: roth@uiuc.edu
cc: linux-net@vger.rutgers.edu
In-Reply-To: <199603192152.PAA10235@sparc17.cs.uiuc.edu>

On Tue, 19 Mar 1996, roth mark daniel wrote:

[...]

> The Linux box is running Linux 1.3.64, libc 5.2.18, and
> yp-clients-2.2.  `ypcat passwd` gives the passwd map correctly from
> the server, with all the encrypted password strings exactly as they
> should be.  However, login wont let any of the users login.  Closer
> investigation revealed that getpwnam(3) is returning "*" in
> p->pw_passwd instead of the encrypted string.
> 
> So what am I doing wrong?  I'm assuming this is a problem with libc
> being configured incorrectly.  Any ideas?  All
> help/comments/suggestions/ideas appreciated.  Thanks in advance.

You did not read the README for yp-clients-2.2. I bet, the last line in 
/etc/passwd reads

+:*:0:0:::

which will effectively give all NIS users a pw_passwd of "*". Change this 
line to just a single 

+

and all should work well.

Hope this helps.

--Swen



home help back first fref pref prev next nref lref last post