Changes

Jump to: navigation, search

OPS335 NIS Lab

100 bytes removed, 19:01, 18 March 2012
Part D: Adding autofs maps:
scp /etc/auto.{home,master} root@f16:/etc/
*You will need to edit them slightly so that NIS is consulted instead of the local system. Edit /etc/auto.master on the host and change remove the 'etc' prefix from auto.home's path:
/home auto.home --timeout=60
*Regenerate your NIS maps and run:
[root@f16 yp]# ypcat auto.home
-fstype=nfs,rw,nosuid,soft 192.168.70.1:/home/&
*SSH to vm02 and edit the /etc/nsswitch.conf file and make changes so automount autofs consults NIS. Reboot the machine.
*When the VM comes back up, SSH and ensure auto mounting of home occurred.
*When you have successfully made this change on vm02, repeat the steps needed for vm01.
1
edit

Navigation menu