Setting up NIS Server in Fedora
========================
STEP 1:
Install a package called ypserv
Eg: yum install ypserv
STEP 2:
Setting the NIS Domain Name
Edit the file: /etc/sysconfig/network and add the following line to it:
NISDOMAIN=somedomainname
Eg: NISDOMAIN=LINUX-NIS.com
STEP 3:
Initializing NIS files
You can do this using the following command:
/usr/lib/yp/ypinit –m
STEP 4:
Updating the NIS files
From now on, every time you add a user, delete a user; you have to update the NIS database. You can do this using the command:
make –C /var/yp
STEP 5:
Starting the NIS server
/etc/init.d/ypserv start
The server is now ready to handle authentication requests from the clients
3 comments:
Gud work Keep it up!!!!!!!!
cool....
one thing need to mention here...
when ever we create any new user...
we need to update it.
#cd /var/yp/
#make...
and enjoy.....
Pritam..Kindly read the step 4 completely
Post a Comment