How can I change the group of a Linux user?
Systems administrative tasks such as managing groups and users should be handled by a systems administrator with the skills, training, and experience required to do so for you.
You can change a user's group with the following command:
usermod -g groupname username
Then check the groups for the user with the following: