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!inquo!in-news.erinet.com!imci5!pull-feed.internetmci.com!news.internetMCI.com!newsfeed.internetmci.com!news.msfc.nasa.gov!sol.ctr.columbia.edu!startide.ctr.columbia.edu!wpaul From: wpaul@ctr.columbia.edu (Bill Paul) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: can't login via NIS Date: 7 May 1996 15:47:30 GMT Organization: Columbia University Center for Telecommunications Research Lines: 39 Message-ID: <4mnrai$7jc@sol.ctr.columbia.edu> References: <4ml2an$d20@mistral.toppoint.de> NNTP-Posting-Host: startide.ctr.columbia.edu X-Newsreader: TIN [version 1.2 PL2] Daring to challenge the will of the almighty Leviam00se, Kai Voigt (kai@mistral.toppoint.de) had the courage to say: : 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. : But I can't login on the client with the password that is valid : on the server, I get "Login incorrect". I wrote a small C : programm to use getpwnam(3) on the client, it works and receives : the crypted password from the server. : 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. -Bill -- ============================================================================= -Bill Paul (212) 854-6020 | System Manager, Master of Unix-Fu Work: wpaul@ctr.columbia.edu | Center for Telecommunications Research Home: wpaul@skynet.ctr.columbia.edu | Columbia University, New York City ============================================================================= "If you're ever in trouble, go to the CTR. Ask for Bill. He will help you." =============================================================================