Home directory is separately shared on server /rhome/stationx/ where x is your Station number.

CORRECT TEXT
One Domain RHCE is configured in your lab, your domain server is server1.example.com.
nisuser2001, nisuser2002, nisuser2003 user are created on your server
192.168.0.254:/rhome/stationx/nisuser2001. Make sure that when NIS user login in your system
automatically mount the home directory. Home directory is separately shared on server
/rhome/stationx/ where x is your Station number.

CORRECT TEXT
One Domain RHCE is configured in your lab, your domain server is server1.example.com.
nisuser2001, nisuser2002, nisuser2003 user are created on your server
192.168.0.254:/rhome/stationx/nisuser2001. Make sure that when NIS user login in your system
automatically mount the home directory. Home directory is separately shared on server
/rhome/stationx/ where x is your Station number.

Answer:

Explanation:
1. use the authconfig –nisserver=<NIS SERVER> –nisdomain=<NIS DOMAIN> –update
Example: authconfig –niserver=192.168.0.254 –nisdomain=RHCE –update

or system-config-authentication
2. Click on Enable NIS
3. Type the NIS Domain: RHCE
4. Type Server 192.168.0.254 then click on next and ok
5. You will get a ok message.
6. Create a Directory /rhome/stationx where x is your station number.
6. vi /etc/auto.master and write at the end of file
/rhome/stationx /etc/auto.home –timeout=60
7. vi /etc/auto.home and write
* -rw,soft,intr 192.168.0.254:/rhome/stationx/&
Note: please specify your station number in the place of x.
8. Service autofs restart
9. Login as the nisuser2001 or nisuser2002 on another terminal will be
Success.
According to question, RHCE domain is already configured. We have to make a client of RHCE
domain and automatically mount the home directory on your system. To make a member of
domain, we use the authconfig with option 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 used the /etc/auto.master file. On /etc/auto.master file we specified
the mount point the configuration file for mount point.



Leave a Reply 0

Your email address will not be published. Required fields are marked *