Ypdomainname foocom

3. Start the NIS client process using a command such as the following: rcypbind start

To verify that NIS is working correctly, use the telnet or ssh commands from the NIS client system to contact the client and attempt to log in as yourself. Remember that your password file entry is present in the password file on the NIS server, but not in the password file on the NIS client. If everything is working, set ypbind to run in its default runlevels using the command chkconfig ypbind on.

You should be able to log in successfully. Congratulations — you're running NIS! You should now modify your system's startup sequence to add the /etc/init.d/ypserv startup script.

NIS is a straightforward way of centralizing user and authentication information on a network. It is ideal for small and medium-sized networks and works well together with NFS, and also with automatic mounting of filesystems from NFS servers.

As discussed in the previous section, one way to centrally manage your users and services is to use Network Information System (NIS). NIS was created by Sun to help Unix administrators manage their users without having to create user accounts locally on all machines.

For additional information about NIS, see the NIS HOWTO at

www.linux-nis.org/nis-howto/HOWTO/NIS-HOWTO.html.

Was this article helpful?

0 0

Post a comment