I've have Ubuntu 15.04 on my laptop and just about everything I do requires me to enter my password.

What do I have to do so I don't have to keep entering my password?

  • 2
    Well, howdy Jim, pleasure to meetcha! Could you edit your question and show us a specific example of what you're trying to do which requires a password? Is this in the command line? In the pretty windows?
    – terdon
    Sep 17, 2015 at 22:54
  • 3
    possible duplicate of Can I set my user account to have no password?
    – muru
    Sep 17, 2015 at 22:54
  • Well you can disable entering a password when using sudo, but as far as I know there is no way to get rid of say the Ubuntu Software Center asking you for a password. Sep 17, 2015 at 22:59
  • 1
    @Zacharee1 see askubuntu.com/a/614537/158442
    – muru
    Sep 17, 2015 at 23:08

1 Answer 1


To remove password prompts for commands/apps using sudo:

sudo adduser (your user name) sudo
sudo visudo


%sudo   ALL=(ALL:ALL) ALL



Exit visudo- Ctrl+x, y, Enter


sudo service sudo restart

To remove password prompts for some graphical applications that use policy kit, not sudo see https://askubuntu.com/a/614537/115816.

Done. Bad idea, but there.

  • 1
    Not a full answer. This only gets rid of the password for sudo. Sep 17, 2015 at 23:09
  • there is already comment to the question how to change policy kit settings... Sep 17, 2015 at 23:11
  • 1
    But then you refer to that in your answer. Don't just answer part of it. Sep 17, 2015 at 23:13
  • Polkit link added. Sep 17, 2015 at 23:18
  • I have done this but it still prompts for password :,(
    – Chang Zhao
    Aug 24, 2021 at 20:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .