User password is empty, need your help on this one

Asked By 10 points N/A Posted on -

Hi guys,

I am an Ubuntu user. I accidentally leave my password empty. Every time I install something it always asks for the password. Even if I give my old password or leave it blank, it won't work. Can you help me with a user password is empty problem?


Answered By 0 points N/A #160058

User password is empty, need your help on this one



You can disable password prompts following these steps:-
1. Open the Terminal Window, and run this command
sudo visudo
2. Look for this line
%admin ALL=(ALL) ALL
3. Change it to %admin ALL=(ALL) NOPASSWD: ALL
4. Save and exit
If you want to change your password from GUI follow these steps:-
1. Go to System > Preferences > About Me
2. Click on Change Password
3. Leave Current Password Field blank and click on Authenticate
4. Give the New password and Retype new password
5. Click Change Password
If you are unable to change it using this, try to change it using this command
sudo passwd <username>
In the above command replace <username> with your username 
Hope it will help!
Laz Zebbena

Login/Register to Answer

Related Questions