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

NoOp glgxg at sbcglobal.net
Tue Aug 2 20:02:40 UTC 2011


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






More information about the ubuntu-users mailing list