How do I make Ubuntu not ask me for my password?

I'm confident that I do not need a password for my computer. How do I remove passwords for things like when the screensaver activates and installing software?


While this statement is a general attitude that I dont agree with, in the spirit of answering your question, I'll continue without further biased objectification.

There are a few areas of the system that you can utilize to process this request. First being the "Screensaver Password" that you mention. Go to System > Preferences > Screensaver In there, you need to disable the checkbox titled "ALock screen when screensaver is active"

enter image description here

On the login screen you can set an auto-login to a user. System > Preferences > Login (this may be system > administration > login.. please verify as I'm not in-front of my Linux PC) you can then set the system to auto-login a given user.

enter image description here

However please note that after you have logged in, if you have stored passwords in your couchdb it will prompt you to enter your password to unlock the keyring so your wifi can auto connect (as an example)

Regarding your software installation password, there is no way to default this that I'm aware of, as sudo will ask you for a password. This security model is enabled so you have to think about what you're doing before you make system-wide changes such as installing software.

Please see: this link. it will help to explain why the current security model should be the default.


"Nobody will ever compromise my computer." falls under the category of Famous Last Words. Reconsider.

That said: for the screensaver, go into the screensaver preferences and uncheck the option to ask for password. For administrative tasks, visudo and change yourname ALL=(ALL) ALL to yourname ALL=(ALL) NOPASSWD: ALL.


Simply follow the following command line steps for your PC not prompting for any password.

Edit the file

$ sudo visudo 

Find the line

$ %sudo ALL=(ALL) ALL

Change the line

$ %sudo ALL=(ALL) NOPASSWD: ALL

Now the line should be look like

 # Allow members of group sudo to execute any command
   $ %sudo  ALL=(ALL) NOPASSWD: ALL

Save and exit(ctrl+x->type 'y'->enter)

Yes you got your way clear... Although this may help you.. Become the superuser by typing command

$ sudo su

It will not ask for any password while doing your sudo command stuff.

More simple way...

1.Go to gear icon on top right corner.

2.Go to system settings.

3.Go to user accounts,bottom right corner(depends on UI)

4.Click the button unlock,it will prompt for password.

5.Enter the password for particular user.

6.Slide the bar of Automatic login from OFF to ON.

7.Here you go..click the lock button again.

Thanks..Hope it works.