- Launch your terminal
- Inside of the terminal you can check what groups the user is already in using the groups command
groups user
- Once you have verified that the user is not already in the group you wish to add them in you can use the usermod command
man usermod
- The above command shows all of the available options you have with the usermod command
- If you wanted to add a user to the webdev group and the sudo group
usermode user --append -g webdev,sudo
- Congradulations you have add a user to the webdev group and sudo group