Rejoin admin group

Asked by Nitsan

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:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

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.