Saturday, 9 February 2008

Amending users in groups

Regarding my previous post, I did make an error when I said how to add users to the vboxusers group. Sorry! I've now updated this so it is now correct. Just in case you haven't seen it, here it is:

sudo adduser matthew vboxusers

There's also another way you can change it:
  • Open the command line
  • enter sudo nano /etc/group
  • This will open the /etc/group text file, where there should be a list of the groups, with the members of each listed by it. Just add yourself to the vboxusers group, then press Ctrl-X to save and exit.
This is probably a better way as it's more transparent. Adding your name to a text file is a more logical way to do it than entering a command.

No comments: