Note to self...
Nov. 22nd, 2009 12:58 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
it's "sudo usermod -aG (groups) user"
Do not forget the "a". Otherwise this group list will REPLACE the old groups.
You don't want to get kicked out of the sudo group, really. But if you do, boot to a live CD, then mkdir /ubuntu, mount (linux root) /ubuntu, chroot /ubuntu, then you can usermod -aG sudo user.
Do not forget the "a". Otherwise this group list will REPLACE the old groups.
You don't want to get kicked out of the sudo group, really. But if you do, boot to a live CD, then mkdir /ubuntu, mount (linux root) /ubuntu, chroot /ubuntu, then you can usermod -aG sudo user.
no subject
Date: 2009-11-23 04:38 am (UTC)no subject
Date: 2009-11-23 11:59 am (UTC)I have hand edited group before, the commands are just easier. The one they warn you about is hand editing sudoers.
no subject
Date: 2009-11-23 04:51 am (UTC)adduser USER GROUP
Be careful, on other distros its a symlink to useradd rather than a seperate program.
no subject
Date: 2009-11-23 11:58 am (UTC)no subject
Date: 2009-11-24 07:32 am (UTC)no subject
Date: 2009-11-24 11:26 am (UTC)no subject
Date: 2009-11-25 09:22 pm (UTC)no subject
Date: 2009-11-25 10:34 pm (UTC)Today I found another thing I missed; I'd taken myself out of the vbusers group, so VirtualBox wasn't giving me access to the USB devices. The symptom was that the flatbed scanner wasn't running in the virtual XP session, but finding the root cause took about 10 minutes.