nerdexam
Red_Hat

RH302 · Question #68

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…

1. use the authconfig --nisserver=192.168.0.254 --nisdomain=rhce.com --update or system-config-authentication 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…

Network configuration

Question

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.

Explanation

  1. use the authconfig --nisserver=192.168.0.254 --nisdomain=rhce.com --update or system-config-authentication
  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 Success. 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 or system-config-authentication command. There a are lots of

Topics

#NIS client#ypbind#autofs#NIS domain membership

Community Discussion

No community discussion yet for this question.

Full RH302 Practice