This is an old revision of the document!
sudo apt install nis
$ sudo vi /etc/defalut/nis
NISSERVER=master
$ sudo vi /etc/yp.conf
ypserver 192.168.0.1
$ sudo vi /etc/ypserv.securenets
(略) # This line gives access to everybody. PLEASE ADJUST! 255.255.255.0 192.168.0.0
$ sudo /usr/lib/yp/ypinit -m At this point, we have to construct a list of the hosts which will run NIS servers. dlp.srv.world is in the list of NIS server hosts. Please continue to add the names for the other hosts, one per line. When you are done with the list, type a <control D>. next host to add: kanri next host to add: # Ctrl + D キー The current list of NIS servers looks like this: kanri Is this correct? [y/n: y] y We need a few minutes to build the databases... (以下略)
$ sudo systemctl restart nis