3

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 '15 at 22:54
  • 3
    possible duplicate of Can I set my user account to have no password? – muru Sep 17 '15 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. – TheWanderer Sep 17 '15 at 22:59
  • 1
    @Zacharee1 see askubuntu.com/a/614537/158442 – muru Sep 17 '15 at 23:08
1

To remove password prompts for commands/apps using sudo:

sudo adduser (your user name) sudo
sudo visudo

Change:

%sudo   ALL=(ALL:ALL) ALL

to

%sudo  ALL=(ALL) NOPASSWD:ALL

Exit visudo- Ctrl+x, y, Enter

Run:

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. – TheWanderer Sep 17 '15 at 23:09
  • there is already comment to the question how to change policy kit settings... – Marek Bettman Sep 17 '15 at 23:11
  • 1
    But then you refer to that in your answer. Don't just answer part of it. – TheWanderer Sep 17 '15 at 23:13
  • Polkit link added. – Marek Bettman Sep 17 '15 at 23:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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