tldr/pages/linux/groupmod.md
2016-12-14 10:49:54 +05:30

211 B

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}}