I did 'sudo usermod -G' instead of '-a -G'
Firesam
ubuntu at e17th.com
Wed Aug 3 13:11:55 UTC 2011
On Tue, 2011-08-02 at 13:45 -0400, 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?
>
>
> Thanks.
[solved]
My solution was to use the gui "users and groups" and change from custom
to administrators group. This automatically added me to all the right
(default) groups. I was able to take it from there.
Thanks again
More information about the ubuntu-users
mailing list