Google Answers Logo
View Question
Q: How to Merge two NIS domains that may contain duplicates. ( No Answer,   1 Comment )
Subject: How to Merge two NIS domains that may contain duplicates.
Category: Computers > Operating Systems
Asked by: unixadm-ga
List Price: $50.00
Posted: 19 Sep 2006 12:15 PDT
Expires: 20 Sep 2006 13:27 PDT
Question ID: 766668
I am looking for links, documentation, and information that will help
me to succesfully merge 2 seperate NIS domains that may contain
duplicate UID/GID entries as well as duplicate home directories and
file ownership. The ultimate answer will be a well written shell
script to accomplish this task.

Assume Solaris 9
merge into a single NIS domain, not a migration into LDAP or AD.
There is no answer at this time.

Subject: Re: How to Merge two NIS domains that may contain duplicates.
From: bozo99-ga on 19 Sep 2006 15:38 PDT
Surely you mean a well-written perl script?
Get familiar with getpwent() and friends.

The hardest part of this is deciding how to overcome ths differences -
for example  will one domain always take priority over the other when
they clash?

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  

Google Home - Answers FAQ - Terms of Service - Privacy Policy