- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: change 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
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
02-07-2007 10:28 AM
02-07-2007 10:28 AM
change GID
Thanks
brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2007 10:33 AM
02-07-2007 10:33 AM
Re: change GID
Why not just add the users to the new group. They will have multiple group memberships but yu will not need to down the apps of worry about the files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2007 10:39 AM
02-07-2007 10:39 AM
Re: change GID
Use 'groupmod' --- see the manpages for 'groupmod(1M)' and if/as necessary 'find' and modify the group associated with your files and directories.
If all you are changing is the *name* and not the associated 'gid' then you don't need to diddle with running processes nor do you need to 'find' and 'chgrp' files and directories. Remember, its the *number* that matters, not the name.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2007 01:49 PM
02-07-2007 01:49 PM
Re: change GID
it will be safer if you do this change through sam user and group management. just change the name as suggested by the Guru.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2007 04:23 PM
02-07-2007 04:23 PM
Re: change GID
You want to change only group name for few users.right.
then it will not affect files as long as you are not changing gid.
use gropumod command :
The groupmod command modifies a group on the system by altering the appropriate entry in the /etc/group file
groupmod [-g gid [-o] ] [-n name] group
-g gid Change the value of the group ID to gid. gid must be a non-negative decimal integer less than MAXUID as defined in the
-o Allow the gid to be non-unique (i.e., a duplicate).
-n name Change the name of the group to name. name consists of a string of printable characters that may not include a colon (:) or newline (\\ ).