One NIS Domain named rhce.com is configured in your lab, server is 192.168.0.254. rhce100,
rhce200,rhce300 user are created on domain server. Make your system as a member of rhce.com
domain. Make sure that when nis user login in your system home directory should get by them.
Home directory is separately shared on server eg /home/stationx/ where x is you station number.
1. Use the authconfig –nisserver=<NIS SERVER> –nisdomain=<NIS DOMAIN> –update
Example: authconfig –nisserver=192.168.0.254 -nisdomain=rhce.com –update
2. Click on Enable NIS
3. Type the NIS Domain: rhce.com
4. Type Server 192.168.0.254 then click on next and ok
5. You will get a ok message.
6. vi /etc/auto.master and write at the end of file
/home/stationx /etc/auto.home –timeout=60
7. vi /etc/auto.home and write
* -rw,soft,intr 192.168.0.254:/home/stationx/&
Note: please specify your station number in the place of x.
8. Service autofs restart
9. Login as the rhce1 or rhce2 or rhce3 on another terminal will be
According to question, rhce.com domain is already configured. We have to make a client of
rhce.com domain and automatically mount the home directory on every client. To make a member
of domain, we use the autheconfig with options or system-config-authentication command. There
a are lots of authentication server i.e NIS, LDAB, SMB etc. NIS is a RPC related Services, no
need to configure the DNS, we should specify the NIS server address.
Here Automount feature is available. When user tried to login, home directory will automatically
mount. The automount service reads the configuration from /etc/auto.master file.
On /etc/auto.master file we specified the mount point the configuration file for mount point.