🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #59809

Re: NIS and recent libc.a

#59809
From: Swen Thuemmler
Date: Mon, 27 Nov 1995 00:00
51 lines
2143 bytes
pdm124@rsphy4.anu.edu.au (Peter David Miller) writes:

>Hello Linux Gurus:
>	I have been trying to get NIS client software to run on a Linux
>box that is part of an otherwise successful network.  The ypbind daemon
>is running, and ypcat and ypmatch both work fine, retrieving correctly
>the password file from the NIS server.  The trouble is, users with entries
>in the NIS passwd file still can't login.  Reading the NIS HOW-TO reveals
>this cryptic comment:

[...]

>I am indeed using a newer version of libc.  So the question is, exactly
>what line do I need to add to /etc/passwd?  I mean, how should I interpret
>"+@this_machine_users"?

You can ignore it, if you do not use netgroups. If you do, you can define a
netgroup which contains all users you do wish to allow access to your
machine, e.g.:

powerusers: (,joe,) (,fred,) (,pdm124,)

(this entry goes into /etc/netgroup on your NIS-Server)

Then, in /etc/passwd, you can use
+@powerusers
to allow access for joe, fred and pdm124. 

Alternatively, you could put
+joe
+fred
+pdm124
into /etc/passwd, but netgroups can be centrally administered, so if later
you mistrust joe, but trust mary, you could change the netgroup, which is
easier than changing /etc/passwd on all your clients.


To your original question: The line you should add to /etc/passwd is:

+

(yes, that is a single plus sign on a line by itself). You probably have an
entry like 
+:*:0:0:::
This is wrong with newer libcs, since this entry would overwrite the passwd
field of every user with a "*". If finger -m user does work, this may be
your problem.

Hope this helps.

--Swen
Technical Details
Message-ID: <49chi8$6pm@gingganz.uni-paderborn.de>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <493rtr$43f@manuel.anu.edu.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102983,1704747327d9507e,start
X-Google-Attributes: gid102983,public
From: swen@gingganz.uni-paderborn.de (Swen Thuemmler)
Subject: Re: NIS and recent libc.a
Date: 1995/11/27
Message-ID: <49chi8$6pm@gingganz.uni-paderborn.de>
X-Deja-AN: 120205395
references: <493rtr$43f@manuel.anu.edu.au>
organization: Uni Paderborn FB 17 Informatik GERMANY
keywords: NIS, libc, netgroups, ypbind
newsgroups: aus.computers.linux