My boss wants a blank password on the desktop running the Ubuntu 15.04. The system logs me into the account directly but whenever I try to sudo command anything and it asks for the password, leaving the space blank doesn't work. I have been researching this for about an hour and I can't come up with any results that really help. I know I can't log in the root account directly, but I also can't do anything as long as the blank password isn't working. I use Kali pretty regularly but I'm not familiar with Ubuntu as much. Any help would be greatly appreciated.

EDIT: The employee who set up the machine set a normal password then "deleted the credentials so it would log in automatically". We've resolved to just reinstall and cut out losses, not waste anymore time on this.

closed as off-topic by Byte Commander, Tim, user68186, Fabby, karel Aug 18 '15 at 22:38

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This describes a problem that can't be reproduced that seemingly went away on its own or was only relevant to a very specific period of time. It's off-topic as it's unlikely to help future readers." – Byte Commander, Tim, Fabby
If this question can be reworded to fit the rules in the help center, please edit the question.


In Ubuntu setup, you cannt set a blank password. That's how UNIX and UNIX-like operating systems work to protect some of the administrators functionnality that can affect the system. So there is a password and you have to find the one that set it up.

  • 1
    There is no answer here, so this isn't helpful. -1 – MoonRunestar Aug 18 '15 at 16:18
  • 1
    This confirms my talk : askubuntu.com/questions/281074/… it's impossible that you can set your password blank from the ubuntu setup page. In fact there is no solution to solve that except saving all the data and re install ubuntu – Ahmed Abdelkafi Aug 18 '15 at 16:22

Not the answer you're looking for? Browse other questions tagged or ask your own question.