I have an issue with login as root with in ubuntu.
I've mistakely assigning my user to a group as primary group and it is not anymore in sudoers.
Consequently I cannot use "sudo" anymore.
I tried to login as "root" but it doesn't accept the password. Or maybe, it has never been assigned.
So… am I screwed ?
Should I format the system and start over again ?
Best Answer
Assuming that you use Ubuntu, you can select the recovery entry in the Grub boot menu. This will boot the system into the single-user mode, which will give you full root access, and the possibility to add your user back to the sudo-group.