Question: I would only like a password prompt at login and lock screen (i.e, to make sure others don't use my computer). However, when I am at my computer, I do not want to be prompted at all for my password, for any reason.

I realize it is a "security risk", but I am a developer and the loss of convenience is more important to me. 

Adding "NOPASSWD" to sudoers will stop it from prompting at the shell, but stuff like Update Manager and Ubuntu Software Center will still bother me.

Any help is appreciated. Thanks!

Answer: 
OK, I found the answer to my own question. Turns out this ridiculous non-sudoers-respecting password prompt application is called PolicyKit. No way in hell would most people know about this application, so it is hard to Google for. This question will put an end to that!

Fix is simple: in /var/lib/polkit-1/localauthority/50.local.d, create a file called disable.pkla (or whatever you want, as long as it ends with .pkla) with the following contents:

```
[This name does not matter]
Identity=unix-group:admin
Action=*
ResultActive=yes

```

Log out and back in, and enjoy!
As a developer, you should already know that this is a *bad idea*. When absolutely necessary I've been known to execute `sudo bash` and enter a few commands. I know how far to (not) trust myself from experience, so I keep the time I leave that shell around to the very minimum and do it only once or twice a year. Sudo works for me very well.

Ubuntu is a free and open source distribution, and you are free to do whatever you want.

At AskUbuntu the standard is to copy the information from other resources (legally) to prevent stale links and, as importantly, to keep the information right at hand.

Because the reference is very long, and has very important warnings, I'm going to paste a reference instead. The idea would be to enable the root account and then use that for what you want. [Here](https://help.ubuntu.com/community/RootSudo) is the reference.

For programs like the software center that use policykit rather than sudoers a change to policykit is necessary. The reference is [here](https://askubuntu.com/questions/98006/how-do-i-prevent-policykit-from-asking-for-a-password).

I strongly recommend that you and the others who refer to this question *not* do this.