Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Mar 1997 19:37:04 -1000 (HST)
From:      "David Langford" <langfod@dihelix.com>
To:        rewt@i-Plus.net
Cc:        freebsd-questions@freebsd.org, breyer@breyer.com, breyer@breyer.jsnet.com
Subject:   Re: How do I create an NIS Master?
Message-ID:  <199703050537.TAA16769@caliban.dihelix.com>
In-Reply-To: <199703050326.WAA09349@Radford.i-Plus.net> from Troy Settle at "Mar 4, 97 10:39:20 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Is there a version of vipw(8) that works with the passwd
files being in /var/yp? It makes editing the files much easier.

Thanks,
- David Langford
  langfod@dihelix.com

>  yppasswddflags="-m /var/yp/master.passwd -s -f"
>  This will cause ypserv and yppasswdd to start each time the system
>  is booted.>
>This will create the NIS maps and start ypserv and yppasswdd. (On
>2.2.x, rpc.yppasswdd has different comand line switches, and there's
>also an rpc.ypxfrd which is useful for sites with NIS master and slave
>servers.) Note: Up until 2.2, you are required to run ypbind on the
>server.  For the clients, just do this: # domainname
>your.chosen.nis.domain.name # ypbind -s # <edit /etc/sysconfig and set
>the following things:
>  defaultdomainname=your.chosen.nis.domain
>  nis_clientflags="-s"
>  This will cause ypbind to start when the system is booted.>
># <vipw and add the following line:
>+:::::::::
>This will check the yppasswd maps for passwords if they are not stored
>in /etc/master.passwd.> # <edit /etc/group and also add the following




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