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.hawaii.edu!news.uoregon.edu!hunter.premier.net!insync!uuneo.neosoft.com!news.sesqui.net!uhura.phoenix.net!pflores From: pflores@alpha1.phoenix.net (Paul Flores) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: help on NIS client Date: 28 Jun 1996 04:45:02 GMT Organization: Phoenix Data Net (713) 486-8337 http://www.phoenix.net Lines: 43 Message-ID: <4qvo0e$9me@uhura.phoenix.net> References: <4qumb6$pk6@overload.lbl.gov> NNTP-Posting-Host: alpha1.phoenix.net X-Newsreader: TIN [version 1.2 PL2] Jin Guojun[ITG] (jin@gracie.lbl.gov) wrote: : I have installed NIS server on one FreeBSD machine by set following flags : in /etc/sysconfig: : nis_serverflags="-dns -k" #for 2.1R, or "-n" for 2.2-SNAP : yppasswddflags="-m /var/yp/master.passwd -s -f" : defaultdomainname=test : cd /var/yp : echo NISServName > ypservers : echo $subnet $netmask > securenets : make : reboot : ---------------------------------------- : On a NIS client machine, I did this in /etc/sysconfig: : nis_clientflags="-s" : nis_ypsetflags="NISServName" : defaultdomainname=test : reboot : ypwhich : NISServName : ypcat passwd | grep myname : myname:password-encrypted:uid:.... : cd ~myname : Unknown user: myname. : Would some one please point what I missed? Might be too simple, but I will ask anyway... Did you remember the +:::::::: in the passwd file? Paul Flores --- "I've Always been easy, just never cheap!" ------ ME!