I did 'sudo usermod -G' instead of '-a -G'
On Tue, Aug 2, 2011 at 2:04 PM, PleegWat <pleegwat@telfort.nl> wrote:
On 08/02/2011 07:45 PM, Firesam wrote:
I accidently usermod without appened. I only realised the next time I
tried sudo and was not in sudoers. I was able to fix it by booting into
root account and usermod -a -G admin<user>. My question is what else
did I break that needs fixing? Is there a file that might be backed up
that I can replace?
These are the groups I'm in on my system, apart from the one equal to my username:
adm dialout cdrom plugdev lpadmin admin sambashare vboxusers mythtv
The file to back up is /etc/group
PleegWat
I guess each system will be a little different. What about using the GUI
and under users and groups setting account type to administrator? Would
that restore all the default groups? Right now it is custom with only
the groups i manually added from cli.
*
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
|