Updating netid byname

All the packages required for NIS clients are a standard part of most Fedora installations. Install the package according to the steps outlined in Chapter 6,"Installing Linux Software". [[email protected] tmp]# service ypxfrd start Starting YP map server: [ OK ] [[email protected] tmp]# chkconfig ypbind on [[email protected] tmp]# chkconfig ypxfrd on [[email protected] tmp]# rpcinfo -p localhost program vers proto port 100000 2 tcp 111 portmapper 100000 2 udp 111 portmapper 100003 nfs 100003 nfs 100021 nlockmgr 100021 nlockmgr 100021 nlockmgr 100004 2 udp 784 ypserv 100004 1 udp 784 ypserv 100004 2 tcp 787 ypserv 100004 1 tcp 787 ypserv 100009 1 udp 798 yppasswdd 600100069 1 udp 850 fypxfrd 600100069 1 tcp 852 fypxfrd 100007 2 udp 924 ypbind 100007 1 udp 924 ypbind 100007 2 tcp 927 ypbind 100007 1 tcp 927 ypbind [[email protected] tmp]# New NIS users can be created by logging into the NIS server and creating the new user account.

You need to add the NIS domain you wish to use in the /etc/sysconfig/network file. In this case, you'll create a user account called nisuser and give it a new password.

Note: This automounter feature doesn't appear to function correctly in my preliminary testing of Fedora Core 3.

See Chapter 29, "Remote Disk Access with NFS", for details. gmake[1]: Leaving directory `/var/yp/NIS-SCHOOL-NETWORK' bigboy has been set up as a NIS master server.

You'll start these daemons after initialization is completed. It also exports all the user's characteristics stored in the /etc/passwd and /etc/group files, such as the login shell, the user's group, and home directory.

Now that you have decided on the name of the NIS domain, you'll have to use the ypinit command to create the associated authentication files for the domain. [[email protected] tmp]# useradd -g users nisuser [[email protected] tmp]# passwd nisuser Changing password for user nisuser.

As this is a lab environment, these prerequisites aren't necessary. Make sure the required netfs, nfslock, and portmap daemons are running and configured to start after the next reboot. After doing this, you won't be able to see the contents of the /home directory on bigboy as user root.The configuration of the NIS server is not difficult, but requires many steps that you may overlook. Note: In the early days, NIS was called Yellow Pages. You can now start the ypbind and the ypxfrd daemons because the NIS domain files have been created.The developers had to change the name after a copyright infringement lawsuit, yet many of the key programs associated with NIS have kept their original names beginning with yp. [[email protected] tmp]# service ypbind start Binding to the NIS domain: [ OK ] Listening for an NIS domain server.NIS clients download the necessary username and password data from the NIS server to verify each user login.An advantage of NIS is that users need to change their passwords on the NIS server only, instead of every system on the network.

Leave a Reply