<div class="gmail_quote">On Tue, Aug 2, 2011 at 2:04 PM, PleegWat <span dir="ltr"><<a href="mailto:pleegwat@telfort.nl">pleegwat@telfort.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On 08/02/2011 07:45 PM, Firesam wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I accidently usermod without appened. I only realised the next time I<br>
tried sudo and was not in sudoers. I was able to fix it by booting into<br>
root account and usermod -a -G admin<user>. My question is what else<br>
did I break that needs fixing? Is there a file that might be backed up<br>
that I can replace?<br>
<br>
<br></blockquote></div></div>
These are the groups I'm in on my system, apart from the one equal to my username:<br>
<br>
adm dialout cdrom plugdev lpadmin admin sambashare vboxusers mythtv<br>
<br>
The file to back up is /etc/group<br>
<br>
PleegWat<font color="#888888"></font></blockquote><div><br><br>I guess each system will be a little different. What about using the GUI<br>and under users and groups setting account type to administrator? Would<br>that restore all the default groups? Right now it is custom with only<br>
the groups i manually added from cli.<br> </div></div>