From owner-freebsd-questions Wed Jun 23 14: 4:33 1999 Delivered-To: freebsd-questions@freebsd.org Received: from pau-amma.whistle.com (s205m64.whistle.com [207.76.205.64]) by hub.freebsd.org (Postfix) with ESMTP id 8FB231534D for ; Wed, 23 Jun 1999 14:04:29 -0700 (PDT) (envelope-from dhw@whistle.com) Received: (from dhw@localhost) by pau-amma.whistle.com (8.9.2/8.9.2) id OAA98779; Wed, 23 Jun 1999 14:04:28 -0700 (PDT) Date: Wed, 23 Jun 1999 14:04:28 -0700 (PDT) From: David Wolfskill Message-Id: <199906232104.OAA98779@pau-amma.whistle.com> To: freebsd-questions@freebsd.org, nick@chromatix.com Subject: Re: NIS Question In-Reply-To: <002001bebdf7$f8719e40$8c7361cf@dogwood.chromatix.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >From: "Nick LoPresti" >Date: Thu, 24 Jun 1999 00:13:53 -0400 [Redirected to -questions -- dhw] >Here's my situation: >1. I would like to set up NIS on my network. >2. I have one FreeBSD system(2.2.6) >3. I have many other flavors of Unix on this network >4. I would like the FreeBSD system to export it's passwd and group files to >the other machines OK; that's doable. I don't currently have a huge variety in flavors of UNIX, but there are both FreeBSD (2.x & 3.x) boxen, as well as SPARC/Solaris 2.x boxen on the net. And our NIS master is a FreeBSD 2.2.6-R box. :-} >How do I achieve this? Do I just run ypserv & ypbind? Pretty much. Make sure you * set the nisdomainname in your /etc/rc.conf* files * uncomment the 'UNSECURE = "True"' line in /var/yp/Makefile (as indicated in the comment block just in front of it). >Any FAQ's around??? Dunno. I inherited the bulk of the setup, though I did make the transition to using 'UNSECURE = "True"' (previously, the SPARC/Solaris boxen were fairly isolated). And the other thing I did was to set up a directory (I used /var/yp/src/`domainname`) for the source files, rather than using /etc on the NIS master. I also use RCS for tracking changes to the source files... except for master.passwd -- I prefer to allow folks to change their own passwords without having changes that I might make (for adding an account, for example) regressing their changes. (Maybe I'll get the hang of using CVS well enough that I could use that instead....) Cheers, david -- David Wolfskill dhw@whistle.com UNIX System Administrator voice: (650) 577-7158 pager: (888) 347-0197 FAX: (650) 372-5915 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message