I did 'sudo usermod -G' instead of '-a -G'
Avi Greenbury
lists at avi.co
Tue Aug 2 20:13:42 UTC 2011
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?
>
Probably nothing else, assuming you actually put the users back. Any
files that're backed up are those that your backups have created which,
incidentally, would be a useful thing to restore from.
--
Avi
More information about the ubuntu-users
mailing list