We help IT Professionals succeed at work.

NIS master server on solaris

ginawi
ginawi asked
on
Medium Priority
432 Views
Last Modified: 2013-12-16
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?
Comment
Watch Question

Commented:
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.
   

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.