How to change primary user group of a user? Preferably without losing the current primary group altogether as the user is part of 'staff' ie. admin. I suppose I could create another admin user and then recreate the original user, but is there a simpler way?
|
feedback
|
|
Use usermod(1M): # usermod -g PRIMARY_GROUP -G SECONDARY_GROUP username | |||
|
feedback
|