Restore Superuser (sudo)
Question:
So I accidentally took the superuser out of the administrators group, and now I can't execute any sudo commands.
Is there any way to restore the superuser permissions, or am I headed for reinstalland?
Thanks.
Answer:
If you can't use the sudo command in a normal session, reboot to a root prompt in 'Recovery' mode.
If you are no longer in the admin group (more likely):
Code:
adduser yourusername adminIf, as you stated, root no longer belongs to admin (less likely):
Code:
adduser root admin
Source: http://ubuntuforums.org/showthread.php?t=910809

