- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Group ID (GID)
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
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
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
тАО03-19-2008 07:37 PM
тАО03-19-2008 07:37 PM
Group ID (GID)
Ex: informix gid 100
informix gi 102
Because i have one server has installed with windows 2003 r2 and i active nfs service.
And i have two hpux servers, in first had a group informix gid 102 in another server had a group informix gid 100, but in microsoft windows only identify one gid.
Please help me!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2008 08:53 PM
тАО03-19-2008 08:53 PM
Re: Group ID (GID)
What you're asking to do is a basic violation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2008 09:01 PM
тАО03-19-2008 09:01 PM
Re: Group ID (GID)
Can i have two groups with same name tham gid diferents?
Ex:
group gid
informix 100
informix 102
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2008 11:53 PM
тАО03-19-2008 11:53 PM
Re: Group ID (GID)
What's the difference between the 100 and the 102? Just move one to the other.
>Can i have two groups with same name them gid different?
I don't see how. Who are you trying to fool? HP-UX or windows?
On HP-UX, it is the GID that is used, not the name, which is only used for displaying.
If your interface with windows is by the name, then the mapping from name to GID would probably pick the first number, 100.
So the safest is to fix one of your machines to match the other.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2008 06:29 AM
тАО03-20-2008 06:29 AM
Re: Group ID (GID)
It's possible put one inside in other, sorry because my knowloge for hpux is basic.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2008 07:03 AM
тАО03-20-2008 07:03 AM
Re: Group ID (GID)
arushkin:Igljf78DS:142:102:Amy Rushkin:/usr/people/arushkin:/bin/csh
billybob:reljf78DS:132:100:Amy Rushkin:/usr/people/billybob:/bin/csh
a) grep 102 /etc/passwd
(* this will give you a list of all users with gid of 102 and maybe a little more. The gid is the 4 parameter. See above example. Only arushkin should be returned *)
b) vipw (* this will open /etc/passwd with the vi editor *)
c) change 102 to 100 for arushkin.
Do you need help with the 'vi' editor?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2008 11:54 AM
тАО03-20-2008 11:54 AM
Re: Group ID (GID)
Besides changing /etc/passwd and /etc/group, you need to hunt down and change all of the files with the wrong GID.
You can use find and chgrp to fix these:
# find / other-file-systems -group 102 -exec chgrp informix {} +
(This would be done after /etc/group changed.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2008 01:15 PM
тАО03-20-2008 01:15 PM