tldr/pages/linux/groupmod.md

12 lines
211 B
Markdown
Raw Normal View History

# groupmod
> Modify existing user groups in the system.
- Change the group name:
`groupmod -n {{new_group_name}} {{old_group_name}}`
- Change the group id:
`groupmod -g {{new_group_id}} {{old_group_name}}`