- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- UID and GID management across several servers
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
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
05-18-2004 04:59 AM
05-18-2004 04:59 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2004 05:04 AM
05-18-2004 05:04 AM
Re: UID and GID management across several servers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2004 05:11 AM
05-18-2004 05:11 AM
Re: UID and GID management across several servers
There are sure products that will do the user administration. NIS(insecure), NIS+ and LDAP are most commonly used. Control-SA by BMC is another product that costs $$.
http://www.bmc.com/products/proddocview/0,2832,19052_19429_22855_1587,00.html
However, you will first need to clean up the mess before you can start using any product. You will need to come up with a standard set of uids/gids, sync them up on all the boxes and then use the product to maintain them. It can be quite a bit of work if the UIDs are in use (like generic logins to run the application processes).
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2004 05:16 AM
05-18-2004 05:16 AM
Re: UID and GID management across several servers
We tried NIS and didn't really care for it. We now simply use the same password file on all the different servers, copying it amongst them via NFS. There are probably security concerns with this simplistic approach, but it works for us and didn't cost a dime.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2004 06:43 AM
05-18-2004 06:43 AM
Re: UID and GID management across several servers
However, if you are concerned about Security, there's a good read at:
http://www.eng.auburn.edu/users/doug/nis.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2004 07:15 AM
05-18-2004 07:15 AM
Re: UID and GID management across several servers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2004 09:21 AM
05-18-2004 09:21 AM
Re: UID and GID management across several servers
However, due to Sarbanes Oxley requirements, we will be migrating to LDAP soon.
Realize that you can't just chnage the UID's to be the same on all of the systems and think that everything is going to work. To change the UID of a user on a system, you will need to search the filesystems to find files owned by that UID and change the ownership to the new UID. This IS going to be a lot of work. But, the sooner you do it, the better. The problem will only get worse over time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2004 09:36 AM
05-18-2004 09:36 AM
Re: UID and GID management across several servers
Scott brings up a good point too, that when a UID changes, the files are left and are identified as owned by the previous UID #. When that UID # gets assigned, if those files aren't changed to the previous owners new UID then you will have a HUGH mess!
Though Pete's suggestion of copying the same passwd file to all of your servers sounds simple, you'll run into this problem of file ownership.
I'll keep looking into this, this is a VERY interesting concepct and concern. By the way, how many servers are you talking about? It would also help if you break it down to how many servers per platform. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2004 11:43 AM
05-18-2004 11:43 AM
Re: UID and GID management across several servers
Thought I'd try to do a little explanation of file permissions. Each digit corresponds
to the permissions for user, group, and other ... respectively.
The umask is subtracted from 777 / 666 to give the permission set.
So, since you have a umask 022, 666-022 leaves 644 (rw-r--r--). As r=4, w=2, x=1,
644 is user rw- (4+2) group r-- (4) others r-- (4).
Hope this adds some clarity.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2004 11:46 AM
05-18-2004 11:46 AM
Re: UID and GID management across several servers
While this is good information, I posted it to the wrong subject thread. Oh well, enjoy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2004 05:26 AM
05-19-2004 05:26 AM
Re: UID and GID management across several servers
Next question I don't know LDAP-UX or where to begin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2004 06:09 AM
05-19-2004 06:09 AM
SolutionI have not experimented with LDAP-UX, however, there's a REALLY good article that explains LDAP-UX, including topographical layouts at:
http://docs.hp.com/cgi-bin/otsearch/getfile?id=/hpux/onlinedocs/internet/uxint.html&searchterms=LDAP&queryid=20011108-122355
Also, the following link tells you how to purchase support for LDAP-UX (J4269AA LDAP-UX Integration), and a phone number for the HP Advantage Center you can call in lieu of talking with an HP sales representative (800-637-7740).
Here you can obtain information about the product, including an overview, pricing, support level options, and other options.
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=J4269AA
Good luck!