2

That happened after I managed to install Virtual Box.

I found a part of the answer here : http://ubuntuforums.org/showthread.php?t=1376802. I added my user to another group and then lost my user to sudoers group. The joke is I haven't any root or admin account - my current user was the sole user of my Ubuntu desktop.

Steve L
  • 41
  • 4

1 Answers1

6

Yes

It is a common mistake that happens to many people. you probably missed -a flag in your command :)

This is the right command

sudo usermod -a -G vboxusers username

and this is probably what you typed (-a keeps all your previous groups)

sudo usermod -G vboxusers username
sajjadG
  • 627