Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!vic.news.telstra.net!act.news.telstra.net!imci3!imci4!newsfeed.internetmci.com!newsfeeder.servtech.com!murphy2.servtech.com!news From: Shawn Carey <smc@servtech.com> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: can't login via NIS Date: Tue, 07 May 1996 23:13:51 -0400 Organization: ServiceTech, Inc. Lines: 33 Message-ID: <3190116F.167EB0E7@servtech.com> References: <4ml2an$d20@mistral.toppoint.de> <4mnrai$7jc@sol.ctr.columbia.edu> NNTP-Posting-Host: boulder.syr.servtech.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.0b2 (X11; I; FreeBSD 2.1.0-RELEASE i386) Bill Paul wrote: > > [...] > > : Hello, > > : I have two FreeBSD 2.1.0-R machines, one is running ypserv, the > : other one ypbind. finger(1) on the client knows the users on > : the server, so I assume that I got NIS properly installed. All > : other checks with ypwhich, ypcat, etc do also work. > > [...] > > : So, what is wrong? Why can't I login on the client? > > Read the passwd(5) man page, especially the part where it explains how > to edit /etc/master.passwd so that you can turn on NIS client support. > > The simple way is to add a line to /etc/master.passwd (preferably using > vipw(8)) that looks like this: > > +::::::::: > > That's a plus sign and nine colons. DON'T pretend that you know what > you're doing and put 0's in the UID and GID fields, or a * in the password > field. Just put the line in exactly as it appears above, and be happy. > If memory serves, I've also been bitten here by using tcsh without having a tcsh entry in /etc/shells on the NIS client. If you're using a shell other than /bin/sh or /bin/csh, don't forget about /etc/shells! -Shawn Carey