How do I move a user from one group to another in Linux?

How do I move a user from one group to another in Linux?
Answer
The user’s login process and files and folders the user creates will be assigned to the primary group. To change the primary group a user is assigned to,
run the usermod command, replacing examplegroup with the name of the group you want to be the primary and exampleusername with the name of the user account.
 

Tìm kiếm

Back
Top