sudo problem

David Fletcher dave at
Sat Jul 20 09:54:08 UTC 2013

On Sat, 2013-07-20 at 12:38 +0300, Marius Gedminas wrote:
> On Fri, Jul 19, 2013 at 08:39:41PM -0700, Bob wrote:
> > I am a new Ubuntu user.  I installed virtualbox and was trying to
> > configure it.  I added my userid (using usermod) to the virtualusers
> > group so I could access USB devices from virtualbox, USB devices now
> > work.
> > 
> > Sudo worked to add my userid to the virtualbox group but did not work
> > afterwards.  I don't know if adding my userid to the group caused the
> > problem or not but now I get an error message when I use the sudo
> > command.
> I'm guessing your usermod command replaced the list of groups instead of
> just adding one more group to it.  Now your user is no longer part of
> the 'sudo' group and as such is not allowed to use sudo any more.
Call me old fashioned if you like but why not just use a text editor in
a terminal on /etc/group? That way you know exactly what's been done
because you've done it by hand, by yourself.

I prefer to use joe, just my choice, because I find it easy to use.

I seem to recall having to do something like add my user name to
vboxusers, and that was it.


More information about the ubuntu-users mailing list