nerdexam
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:

  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 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.
  7. vi /etc/auto.master and write at the end of file /rhome/stationx /etc/auto.home --timeout=60
  8. 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.
  1. Service autofs restart

Topics

#NIS client#autofs#home directory automount#network filesystem

Community Discussion

No community discussion yet for this question.

Full RH302 Practice