NIS master server on solaris

I have upgraded solaris 1.x to 2.5,I wuld like to setup my machine as master server for NIS (yp) and restore the old databse of nis . Any one can give me an idea how to do that?
ginawiAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

jlmsCommented:
You can do several things:
-Get the Solaris version of NIS (I don't know how much does it cost but it does cost) and go ahead.
-You can set the NIS+ server with level 0 security, or as Sun calls it "compatibility" mode.
-You can upgrade to Solaris 2.6 that has a native version of NIS

To transfer you maps you have to put your actual files to build the NIS maps and run the commands, depending if you use NIS or NIS+ in compatibility mode, to create the domain. One important exception should be pointed out: Solaris has the /etc/shadow file that keeps tha passwords of the users, you have to modify your passwd file and to create this shadow file before creating your domain.
   In Solaris you have to modify the /etc/nsswitch.conf file to say to the system which services are being used and in wich order.
   
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
Unix OS

From novice to tech pro — start learning today.