to add a user to a group you can use the usermod -aG + the group name + the username
Example: sudo usermod -aG devops s5derick
This command will add the user s5derick in the devops group
to add a user to a group you can use the usermod -aG + the group name + the username
Example: sudo usermod -aG devops s5derick
This command will add the user s5derick in the devops group