Linux Add Group
Use groupadd or addgroup command to create a new user group in the Linux system.
Syntax:
Example:
Let’s create a group named “testgroup”.
Add User to Group
Use usermod command to add user in the secondary group.
You can view the group’s names of the user belongs to.
Assign Group during Create New User
You can also assign a specific group during create creation process. This will also create the primary group
0 Comments
CAN FEEDBACK
Emoji