Groupmod example


#1

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