NIS Server and Clients setup

Hi,
 
    I'm going to setup NIS server and clients in my 2 PC's so that I can share user account information between the 2 PC's.  I've referenced to the HOW-TO documents and the user manual of RedHat 4.2 but they confuse me.  According to the HOW-TO documents, ypbind should be up on clients.  However, RedHat 4.2 manual said that ypbind need not be up on NIS
clients (I also have compiled yp-client-2.7 and have its ypbind crashed with segmentation fault.).  I don't know which one is correct.  The setup procedures of NIS server has not been detailed in both references.  Would linux experts in the net direct me the standard procedures of setting up NIS server and clients?
 
Thanks in advance.
 
Regards,
Wai Keung, Fung
wkfungAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ahoffmannCommented:
The traditional NIS needs ypserv on the NIS-server, and ypbind on NIS-server and NIS-client.
You must first set the yp-domain (this is *not* the DNS domain) like
    domainname my_nis_domain
then ypbind should all other things on the client.
You may verify this by using ypwhich, ypcat etc.

Setting up the server not as easy, but the docs, howtos and man pages should be enough to manage it.

Good Luck
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.