I did 'sudo usermod -G' instead of '-a -G'

NoOp glgxg at sbcglobal.net
Tue Aug 2 20:07:39 UTC 2011


On 08/02/2011 01:02 PM, NoOp wrote:
> On 08/02/2011 10:45 AM, 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?
> 
> This may help:
> https://help.ubuntu.com/community/Sudoers
Sorry, forgot to also add this one:
http://www.psychocats.net/ubuntu/fixsudo






More information about the ubuntu-users mailing list