[Linux-disciples] NIS questions

Chung-chieh Shan ccshan at post.harvard.edu
Wed May 26 14:39:22 EDT 2004


On 2004-05-26T12:44:29-0400, Dylan Thurston wrote:
> > All right: I think I have NIS properly set up on a few
> > clients, because I can run programs like ypcat and get
> > entries out of my passwd file. But this brings up a question
> > for me: how does NIS resolve a conflict between the local
> > passwd file and the NIS passwd file? If a username exists in
> > both files, whose password does the system consult? I'll
> > experiment a bit on this.
> 
> This is configurable: At some point in /etc/passwd, you stick in a
> line with '+'s.  I think earlier entries in /etc/passwd take
> precedence, so if you want the local passwd file, you put the local
> entries before that line; if you want the remote one, you put the
> local entries after that line.

See also /etc/nsswitch.conf (documented in a man page).

-- 
Edit this signature at http://www.digitas.harvard.edu/cgi-bin/ken/sig
2004-06-05: World Environment Day http://www.unep.org/wed/2004/

1 000 000 Europeans demand the exit of nuclear power www.atomstopp.at/1million/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20040526/2bc21fe3/attachment.pgp


More information about the Linux-disciples mailing list