A detailed analysis of NIS security is beyond the scope of this book, but I suggest that you restrict its use to highly secure networks or to networks where access to non-NIS networks is highly restricted.
[[email protected] tmp]# chkconfig nfslock on [[email protected] tmp]# chkconfig nfs on [[email protected] tmp]# chkconfig portmap on [[email protected] tmp]# service portmap start Starting portmapper: [ OK ] [[email protected] tmp]# service nfslock start Starting NFS statd: [ OK ] [[email protected] tmp]# service nfs start Starting NFS services: [ OK ] Starting NFS quotas: [ OK ] Starting NFS daemon: [ OK ] Starting NFS mountd: [ OK ] [[email protected] tmp]# After configuring the NFS server, we have to configure its clients, This will be covered next. Edit file /etc/to do the NFS mount whenever the /home directory is accessed.The lab instructor did some research and created an implementation plan: You have the scenario and the plan, it's time to get to work.Here are the steps to configure the NFS server in this scenario: 1.[[email protected] tmp]# /usr/lib/yp/ypinit -m At this point, we have to construct a list of the hosts which will run NIS servers. Please continue to add the names for the other hosts, one per line. next host to add: bigboy next host to add: The current list of NIS servers looks like this: bigboy Is this correct? gmake: Entering directory `/var/yp/NIS-SCHOOL-NETWORK' Updating passwd.byname... On a NIS client, the results are identical with both showing the encrypted password.[y/n: y] y We need a few minutes to build the databases... Now that the NIS server is configured, it's time to configure the NIS clients.