*BSD News Article 86282


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!su-news-hub1.bbnplanet.com!news1.digital.com!pa.dec.com!nntpd.lkg.dec.com!not-for-mail
From: Patrick Crilly <crilly@ozy.dec.com>
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Can't login to NetBSD using YP
Date: Mon, 06 Jan 1997 10:43:25 +1000
Organization: Digital Equipment
Lines: 20
Message-ID: <32D04AAD.7B71@ozy.dec.com>
Reply-To: crilly@ozy.dec.com
NNTP-Posting-Host: rtatoo.ozy.dec.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.01Gold (WinNT; I)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.netbsd.misc:5085

I am trying to setup yellow pages on a NetBSD system so that users can
log into the machine using the accounts they have on the main UNIX
development machine. 

I setup the NetBSD machine to run as a YP client.  ypmatch etc work so
the machine is talking to server okay.  I edited /etc/master.passwd and
/etc/passwd and made the last line "+:" 

When I try doing "login" as user "bogus" it fails, even though user
"bogus" is a valid account on the development machine.   A "su bogus"
fails with "su: unknown login bogus".  A "passwd bogus" comes up with 
"Changing YP passwd for bogus" so it seems to me as if things should
work okay. 

I ran "pwd_mkdb" over the master.passwd file but it doesn't like the
"+:" so I suspect this is the problem.  Anyone know what I am missing
here ?

thanks,
Patrick.