How to get root access in recovery mode if sudo is broken (Ubuntu)


Have you ever needed to use sudo but cannot? have you been stuck with no root user? That is the thing of the past. These are the easy steps to get your root account activated.

Step 1: Turn on computer.
Step 2: When it says the bootloader click the “esc” key on your keyboard.
Step 3: Select recovery mode in the bootloader.
Step 4: In the CLi (Command Line) type “passwd”
Step 5: Type in the new password for root and then type the same password in again.
Step 6: Your done
Now to use your new root account just type in “su” to switch to the root user and then type in the command and you do not have to use sudo

This is a simple, basic article, if you should so choose to try this out and any of it fails there is no applicable warranty and I do not take any responsibility for damage.


Leave a Reply