1
edit
Changes
→PART B: Setting up your NIS Server
host 127.0.0.1
255.255.255.0 192.168.x.0
*Enable and start the NIS (ypserv) service.
systemctl start ypserv.service
*Enable and start the NIS map transfer (ypxfrd) service.
systemctl start ypxfrd.service
*Verify that your servers are running correctly with the following command:
rpcinfo -p
make
*Enable and start the NIS binding (ypbind) service.
systemctl start ypbind.service
*You may need to enable another boolean relating to NIS.
getsebool -a | grep yp
*Use the following command to verify your NIS server is working - you should see joker's password record.
ypcat passwd