Redhat 7.2 NIS setup question

sandmanwake

Golden Member
Feb 29, 2000
1,494
0
0
How do I set up the NIS server? I'd like to be able to serve password, group, netgroup, and host information on clients within the NIS domain.
 

Heisenberg

Lifer
Dec 21, 2001
10,621
1
0
Run "/usr/lib/yp/ypinit -m" on the server.
Then run "ntsysv" and make sure "yppasswdd" and "ypserv" are both checked on the server.
The do "domainname name" on both clients and server.
Then cd to "/var/yp" and do "make" to build the lists.
On the clients, in "ntsysv" check "ypbind".
Restart the server and then the clients.
 

Heisenberg

Lifer
Dec 21, 2001
10,621
1
0
I forgot a step - On the clients, you need to edit /etc/yp.conf and add a line. The file has examples but basically its "domain domain server server". I don't know what your setup is, but you will also probably have to use NFS to mount "/home" on the client machines.