Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!agis!vtc.tacom.army.mil!news1.oakland.edu!jobone!newsxfer.itd.umich.edu!agate!howland.reston.ans.net!sol.ctr.columbia.edu!startide.ctr.columbia.edu!wpaul From: wpaul@ctr.columbia.edu (Bill Paul) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: HELP!! YP and the passwd file Date: 13 Jun 1995 17:56:11 GMT Organization: Columbia University Center for Telecommunications Research Lines: 45 Message-ID: <3rkjfr$rtk@sol.ctr.columbia.edu> References: <prw1-130695100733@128.84.239.123> NNTP-Posting-Host: startide.ctr.columbia.edu X-Newsreader: TIN [version 1.2 PL2] Daring to challenge the will of the almighty Leviam00se, Paul R. Weber (prw1@cornell.edu) had the courage to say: : We are trying to get our 486 BSD 2.0 computer to use our yp server to get : passwds. The computer binds to the server ok, but when I try to add a + to : the passwd via vipw I get the following error message: If you're talking about FreeBSD 2.0-RELEASE, then my advice is to upgrade to 2.0.5-RELEASE if you really need NIS. The NIS support in 2.0-RELEASE had several bugs and was client-only. 2.0.5 has both client and server support and is much stabler. : pwd_mkdb : corrupted entry : pwd_mkdb : at line #12 : pwd_mkdb : /etc/pw.000124 : I have tryed this multi times and I get the same message over and over : again. : Does anyone have any idea on how to fix this? : Thanks!! : Paul R. Weber : prw1@cornell.edu The reason it's saying 'corrupted entry' is because '+' is in fact *not* a valid entry to use in /etc/master.passwd. If you want to enable NIS, you need to use +::::::::: (that's a plus sign and nine colons). pwd_mkdb will translate this to +:*:0:0::: in /etc/passwd for you. You also need to add a '+' entry to /etc/group. Here you must use just the plus sign and nothing else; there are library bugs that will cause programs (like /usr/bin/login for one) to SEGV and dump core if you use +: or +::. This is fixed in 2.0.5. -Bill -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~T~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Bill Paul (212) 854-6020 | System Manager Work: wpaul@ctr.columbia.edu | Center for Telecommunications Research Home: wpaul@skynet.ctr.columbia.edu | Columbia University, New York City ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The Møøse Illuminati: ignore it and be confused, or join it and be confusing! ~~~~~~ "Welcome to All Things BSDish! If it's not BSDish, it's crap!" ~~~~~~~