Rejoin admin group

Asked by Nitsan on 2011-03-12

By mistake I had removed my user from admin group. How can I rejoin the group?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu firestarter Edit question
Assignee:
No assignee Edit question
Last query:
2011-03-12
Last reply:
2011-03-12

Boot to root recovery mode and add the user to the group using:

useradd -G admin foo

Change foo for your username

useradd -G admin andy

Can you help with this problem?

Provide an answer of your own, or ask Nitsan for more information if necessary.

To post a message you must log in.