How To Login As Root On Ubuntu?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
1. Boot your Ubuntu system and press the ESC key while the GRUB menu is displayed.
2. At the GRUB menu, use your cursor keys to select the first option (usually labeled “Ubuntu”) and press the e key.
3. Use the arrow keys to move the cursor to the end of the line beginning with “linux” and add the word “single” at the end (without quotes).
4. Press the Ctrl+X key to boot into single user mode.
5. You will now be presented with a prompt. Enter the command “sudo -i” at the prompt to login as the root user.
6. You will be asked for the root user password. Enter the password and you will be logged in as the root user.