I have one admin account and recently I have accidentally added myself to a single group (usermod -G without -a). So, I am not in the sudoers file anymore. However, root is not loginable by default on Ubuntu. Do I reset the password for root during the boot process?
Tell me more
×
Ask Ubuntu is a question and answer site for
Ubuntu users and developers. It's 100% free, no registration required.
|
|
||||
|
|
|
No need to reset root password (well, technically, Ubuntu's root does not even have a password). Do this:
Note: The 'sudo' group used to be the 'admin' group prior to Precise Pangolin. If you're on anything older, replace the group 'sudo' with the group 'admin' in the above commands. |
|||||
|
