Red_Hat
RH302 · Question #72
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…
Answers: 1. use the authconfig --nisserver=<NIS SERVER> --nisdomain=<NIS DOMAIN> -- update Example: # authconfig --nisserver=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…
Network configuration
Question
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.
Explanation
Answers:
- use the authconfig --nisserver=<NIS SERVER> --nisdomain=<NIS DOMAIN> -- update Example: # authconfig --nisserver=192.168.0.254 --nisdomain=RHCE --update or system-config-authentication
- Click on Enable NIS
- Type the NIS Domain: RHCE
- Type Server 192.168.0.254 then click on next and ok
- You will get a ok message.
- Create a Directory /rhome/stationx where x is your station number.
- vi /etc/auto.master and write at the end of file /rhome/stationx /etc/auto.home --timeout=60
- 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.
- Service autofs restart
Topics
#NIS client#autofs#home directory automount#network filesystem
Community Discussion
No community discussion yet for this question.