PDF download Download Article PDF download Download Article

If you're getting an error that says "Incorrect Password " when running software in Ubuntu, it's usually because the root account is disabled by default. We'll show you how to enable the root user in Ubuntu to resolve the incorrect password error.

Method 1
Method 1 of 1:

Enable Root Account in Ubuntu

PDF download Download Article
  1. To enable your root account, you need to type following command to the Terminal (press Ctrl+Alt+T on your keyboard) or use copy/paste method: sudo passwd root (then hit Enter)
  2. The password is that one, which you're using in the Login Screen. Password does not show up in the terminal when you type it. Just type your password and hit Enter. You will maybe prompt to enter user password for twice, so do that. If your password was entered correctly, the action will continue.
    Advertisement
  3. To do that, you need to type following command to the Terminal to run LightDM: sudo gedit /etc/lightdm/lightdm.conf (then hit Enter)
  4. greeter-show-manual-login=true (then save it and close LightDM).
  5. Now it will works. If you will want to disable your root account, then you need to type following command to the Terminal (press Ctrl+Alt+T on your keyboard) or use copy/paste method: sudo passwd -l root (then hit Enter)
  6. Advertisement

Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Tips

Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!

You Might Also Like

Become Root in Linux Access and Use the Root Account in Linux
Become Root in Ubuntu Get Root Access in Ubuntu Linux
Change the Root Password in Linux Change Your Root Linux Password (Even If You Don't Know It)
Open the Root Terminal in Kali Linux Enable Root in Kali Linux and Open a Root Terminal
Reset Forgotten Password in LinuxReset Forgotten Password in Linux
Set Administrator Password Change the Windows Administrator Password
Sudo Command Not Found2 Ways to Fix the "Sudo Command Not Found" Error on Linux
Open Applications With Root Privileges on a Mac Run Apps with Root Permissions on a Mac
Install and Uninstall Applications from Terminal in UbuntuInstall and Uninstall Applications from Terminal in Ubuntu
Linux How to Change UserLinux: How to Change User in Terminal & GNOME
Run a Program from the Command Line on LinuxRun a Program from the Command Line on Linux
Log in As an Administrator in Windows 10Quick Ways to Log In as Administrator in Windows 10
Reset Windows 7 Administrator PasswordReset Windows 7 Administrator Password
Access Windows Files in Ubuntu Access Windows Files in Ubuntu OS
Advertisement

About This Article

wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, volunteer authors worked to edit and improve it over time. This article has been viewed 74,857 times.
How helpful is this?
Co-authors: 4
Updated: December 17, 2021
Views: 74,857
Categories: Ubuntu
Thanks to all authors for creating a page that has been read 74,857 times.

Is this article up to date?

Advertisement