NIS Network Information Service configuration important files and directory in Red Hat Linux

Install NIS
#rpm –q yp*
Set the domain
/etc/sysconfig/network
Line4: NISDOMAIN =linuxclient

Edit variable directory /var/yp/Makefile
Line 109 add # before host
Add the user to NIS
/usr/lib/yp/ypinit –m

-m option means this is for the Master server.

Start the service
Service yppasswdd start
Add the user
Update the user database through make command

Go to the client system
Setup NIS client
Set NISDOMAIN as linuxclient

Related post