TO SET IN A SERVER SIDE:
Nis Domain Name: RHCE
-->vi /etc/sysconfig/network
nisdomain=RHCE;
service ypserv restart or reload[in real time]
service portmap restart or reload[in real time]
chkconfig ypserv on
chkconfig portmap on
mkdir /rhome
vi /etc/default/useradd
--home=/rhome
--> to create user
service nfs reload
service portmap reload
chkconfig nfs on
chkconfig portmap on
vi /etc/exports
--/rhome(rw,sync)
-->/usr/lib/yp/ypinit -m
chkconfig ypserv on
chkconfig yppasswd on
TO SET IN A CLIENT SIDE:
-->go for->NETCONFIG-> QUTHCONFIG->ENTER
mkdirypcat passwd
mkdir /rhome
--> vi /etc/auto.master -- /rhome /etc/auto.misc
--> vi /etc/auto.misc
--username -rw,soft,info 192.168.1.1/r/r...
Note:
SERVER Package Name: yptools,ypserv
CLIENT Package Name: autofs,bind