NIS Server installation in rhel4/5

7 views
Skip to first unread message

ariful islam

unread,
Jun 11, 2008, 2:21:14 AM6/11/08
to linuxcolor

Dear Shahriar bhai,

I need NIS Server installation step by step procedure and the rpm name. Can u pls help me.

 

Arif


Shahriar

unread,
Jun 12, 2008, 12:14:36 AM6/12/08
to Linux...@googlegroups.com
Dear Arif bhai.


NIS port-111

                    Network Information Server

 

Step1: Install these rpm

ypbind. , 2.yp-serv,  3. yp-tools

 

Step 2:.

vi /etc/sysconfig/network

NISDOMAIN=mydomain

 

Step 3:  

vi /etc/yp.conf

yp server   127.0.0.1

 

Step 4:

/etc/rc.d/init.d/ypserv    start    or  service  daemon start

/etc/rc.d/init.d/yppasswdd start   

/etc/rc.d/init.d/ypxfrd    start                                                                                          

chkconfig   ypserv    on

chkconfig   yppasswdd on

chkconfig   ypxfrd    on

 

Step 5:

/usr/lib/yp/ypinit –m

 

Step 6:

/etc/rc.d/init.d/ypbind   start

/etc/rc.d/inti.d/ypxfrd   start

 

chkconfig ypbind on

 

---------End of  NIS server---------

 

NIS Client machine :

Run the following command

authoconfig

 

Note: If you create new user then you must do the following

 

cd   /var/yp     

make               

 

NIS database cheek

ypmatch name passwd

 

ariful islam

unread,
Jun 12, 2008, 4:46:47 AM6/12/08
to Linux...@googlegroups.com

Thanks Shariar bhai,

I did atlast yesterday but didnt check but procedure is quite similar to urs. I will test it today and reply u tomorrow.

 

Arif



--- On Thu, 6/12/08, Shahriar <linux...@gmail.com> wrote:

Reply all
Reply to author
Forward
0 new messages