Changes

Jump to: navigation, search

OPS335 NIS Lab

19 bytes removed, 16:51, 27 August 2013
m
Minor rephrasing
* Verify that your servers (NFS, ypserv) are running correctly with the following command:
rpcinfo -p
*At this step you should edit your firewalls to allow the NIS traffic through your firewall (Hint: check the output of rpcinfo -p or iptables rules related to traffic on the "lo" interface)
*Your host will essentially be communicating with its own NIS server when using the Makefile
*Now change to directory /var/yp and run this command
ypcat passwd
*You should be able to see the 'nis-user' entry from the host machine, matching its credentials.
*If you added a mismatched user, you must recreate update the map files on the host once again.
*Edit the /etc/nsswitch file change the following lines as they appear below:
passwd: nis files
932
edits

Navigation menu