I did 'sudo usermod -G' instead of '-a -G'
PleegWat
pleegwat at telfort.nl
Tue Aug 2 18:04:07 UTC 2011
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?
>
>
> Thanks.
>
>
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
More information about the ubuntu-users
mailing list