How do you set a primary group in Linux?

How do you set a primary group in Linux?
Answer
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. Note the -g here. When you use a lowercase g, you assign a
primary group.
 

Tìm kiếm

Back
Top