Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!news.dacom.co.kr!news.kreonet.re.kr!overload.lbl.gov!gracie.lbl.gov!jin From: jin@gracie.lbl.gov (Jin Guojun[ITG]) Newsgroups: comp.unix.bsd.freebsd.misc Subject: help on NIS client Date: 27 Jun 1996 19:10:30 GMT Organization: Lawrence Berkeley Laboratory Lines: 41 Message-ID: <4qumb6$pk6@overload.lbl.gov> NNTP-Posting-Host: gracie.lbl.gov 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? Thanks, -- /-------------- Jin Guojun ------------ v ---- Internet: g_jin@lbl.gov ----\ | Imaging & Distributed Computing | Usenet: ucbvax!g_jin@lbl.gov | | Lawrence Berkeley Laboratory | Bitnet: -- | | 50B-2239, Berkeley, CA 94720 - jin%george.lbl.gov@Csa3.LBL.Gov |