nis-master | (netbsd) | nis-slave | nis-client | nis-ops
tested on netbsd93
see nis-master for overall settings and security warnings. this guide is only designed to keep netbsd-specific setup apart.
built-in
vi /etc/rc.conf rpcbind=yes ypbind=yes ypserv=yes yppasswdd=no /etc/rc.d/rpcbind restart /etc/rc.d/ypserv restart /etc/rc.d/ypbind restart #/etc/rc.d/yppasswdd restart
cd /var/yp/ mv -i Makefile.yp Makefile.yp.dist grep -vE '^#|^$' Makefile.yp.dist > Makefile.yp.clean grep -vE '^#|^$' Makefile.yp.dist > Makefile.yp vi Makefile.yp NOPUSH?= "flase" MINUID?= 1000 MINGID?= 1000 all: passwd group
ypinit -m pkg_add bash ln -s /usr/pkg/bin/bash /bin/bash vi /etc/shells /bin/bash
23.6.3. Network Information Service (NIS/YP) http://www.netbsd.org/docs/guide/en/chap-net-intro.html#chap-net-intro-nsconcepts-nis
how to set up nfs and nis https://wiki.netbsd.org/tutorials/how_to_set_up_nfs_and_nis/
NIS in NetBSD https://www.silas.net.br/tech/netbsd/nis-in-netbsd.html
うにっくすさんの覚え書き - NetBSD - NIS https://web.archive.org/web/20090105175332/http://www.nognog.com/techmemo/NetBSD_NIS_HOWTO.php
Adding a New Slave Server http://docs.oracle.com/cd/E19455-01/806-1387/6jam692cm/index.html
NIS Troubleshooting on Solaris https://web.archive.org/web/20150902195323/http://www.softpanorama.net/Net/Application_layer/NIS/nis_troubleshooting.shtml
Solaris Naming Services Architecture http://www.informit.com/articles/article.aspx?p=24381&seqNum=11