groupmod Command Generator
Generate groupmod commands to modify a group definition
Getting Started with groupmod
## What is groupmod?
`groupmod` modifies an existing group definition: rename it, change its GID, or update its password. It requires root privileges.
## How to Use
1. **Pick Changes**: Choose a new name (`-n`), new GID (`-g`), or both. 2. **Enter Current Group Name**: Provide the existing group to modify (the positional argument). 3. **Copy & Run**: Copy the generated command into your terminal.
Note: renaming a group does not automatically update file ownership references.
Common Options
### `-n` New name Rename the group. Files owned by GID are unaffected, but references by name elsewhere must be updated.
### `-g` Group ID (GID) Change the numeric GID. Must be unique unless `-o` is supplied.
### `-o` Non-unique Allow the new GID to duplicate an existing group's GID (use with `-g`).
### `-p` Password Set an encrypted group password (rarely used on modern systems).
▶How do I rename a group?
▶How do I change a group's GID?
▶Can two groups share the same GID?
If this tool has been helpful to you, consider buying me a coffee.
Buy me a coffee