Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jun 1999 14:04:28 -0700 (PDT)
From:      David Wolfskill <dhw@whistle.com>
To:        freebsd-questions@freebsd.org, nick@chromatix.com
Subject:   Re: NIS Question
Message-ID:  <199906232104.OAA98779@pau-amma.whistle.com>
In-Reply-To: <002001bebdf7$f8719e40$8c7361cf@dogwood.chromatix.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>From: "Nick LoPresti" <nick@chromatix.com>
>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906232104.OAA98779>