Create a group
To create and add a new group, use the "groupadd" command.
Information about groups is described in /etc/group and can be edited, but it is better to edit the group information with the vigr command instead of directly editing the "/etc/group" file.
|[root@lion root]# groupadd gr01 ←Execute the groupadd command to create the group gr01
[root@lion root]# tail /etc/group ←Check the group information
gr01:x:504: ←The gr01 group has been created.
[root@lion root]# vigr ←Run the vigr command
※The vigr command is an auxiliary command to edit the "/etc/group" file with the vi editor.