- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NIS NOVICE
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2002 07:04 AM
01-31-2002 07:04 AM
Thanks,
Bob
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2002 07:11 AM
01-31-2002 07:11 AM
Re: NIS NOVICE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2002 07:13 AM
01-31-2002 07:13 AM
Re: NIS NOVICE
This way you avoid problems with permissions on files they create.
If necessary on certain machines you give them other id's on local machines and change the lookup order for passwd in nsswitch.conf.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2002 07:17 AM
01-31-2002 07:17 AM
SolutionThe simple answer is yes but there are a few rules. On an NIS client, if a user is found in /etc/passwd before the '+' entry is found then the local passwd entry wins. In that case the uid could be different on different clients but that is not generally considered a desirable thing. The idea is that on all your clients the passwd file will be very sparse (root,lp,uucp, ...) with perhaps 10 total entries and then the '+' entry. You really need to rcp or ftp all you passwd files into a common directory and then look for duplicates. The thing you don't want is for uid 125 to be 'mmouse' on one client and 'dduck' on another. If you do have dupliucate uids then you are going to have to assign one of them a new uid and then use a find -exec to chown all the files from the old uid to the new uid.
It appears that you have some work to do.
Regards, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2002 07:19 AM
01-31-2002 07:19 AM
Re: NIS NOVICE
John has accounts on 10 unix boxes. All his accounts have a different id#. Should I logon to each box and make sure his id number is the same accross the platform.
Thanks,
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2002 07:19 AM
01-31-2002 07:19 AM
Re: NIS NOVICE
>Do I have to make sure that all my users on >all my other systems have the same id number? >(in passwd file). If I have to, is there an >easy way to do this?
Basically you need to consolidate all your UIDs from other systems, any clients that you want to be included in the NIS domain that you're about to setup has to have a unique UID. You could probably write a script to extract all the UIDs and make comparison and decide which UID to use in a case of duplicate ones.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2002 07:21 AM
01-31-2002 07:21 AM
Re: NIS NOVICE
A.Clay. just the answer I was looking for.
Best Regards and Thanks.