Subject: Re: NIS and AMD
To: Steven Grunza <steven_grunza@ieee.org>
From: Mason Loring Bliss <mason@acheron.middleboro.ma.us>
List: netbsd-users
Date: 06/07/2000 14:28:51
On Wed, Jun 07, 2000 at 10:15:22AM -0400, Steven Grunza wrote:
> Is there a quick HOWTO for setting up NIS and AMD?
There's an expensive book that does a good job of it:
UNIX System Administration Handbook
http://www.admin.com/
> To do this, I believe NIS and AMD are being used (or their Solaris/Linux
> equivalents).
I'm not particularly familiar with AMD, but you don't necessarily need
it. You might get away with doing a regular NFS mount. (AMD just provides
an "it's not there when you don't need it" functionality, as I understand
it.)
In a nutshell, though, setting up NIS:
Once:
set your NIS domainname in rc.conf, and set it immediately using
domainname(1)
run "ypinit -c"
with vipw, have "+" on the last line of your password file, and be careful
to not duplicate user accounts that exist in the NIS world
Each boot, automatically with the right rc.conf settings:
run portmap (or rpcbind on bleedingly new systems) at each boot
run ypbind at each boot
I believe that pretty much does the trick. You might also need to add a "+"
to your /etc/group file if you need NIS-defined groups as well. If your
machine is working fine as it is, you probably don't need or won't want
more than this.
man nsswitch.conf
--
Mason Loring Bliss mason@acheron.middleboro.ma.us I m m a n e n t i z e
awake ? sleep : dream; http://acheron.ne.mediaone.net t h e E s c h a t o n