This page was an howto for avoiding all that asking for passwords into the Ubuntu Desktop Edition. People is TIRED to write the same DAMN PASSWORD into their ubuntu box. Now it contain useful stuff to do, for having a working and simple Ubuntu instead of the crap they install by default.

Threads about passwords in Ubuntu


Automatic login without password

It's MY computer, in MY house, so why the FUCK i have to type my password to log in X-Windows?!?

System - Administration - Login and select the damn user

You can select this while installing the Ubuntu.

IDIOT keyring password

It will be asked again and again. Every time the same FUCKING password. Just to open a thing that contain THE SAME PASSWORD ITSELF.


Delete the folder $home/.gnome2/keyrings which holds the keyring info. Once you do that it wont ask again.

Disable the damn Gnome Keyring Manager Password

Same SHIT as before.

Applications - Accessories - Passwords and encryption keys

Edit that.

All other passwords asked again and again

First, do an apt-get install libpam-gnome-keyring (Normally this is not required on latest ubuntu releases)

Create a file named /etc/pam.d/common-pamkeyring containing:

auth optional pam_keyring.so try_first_pass
session optional pam_keyring.so

Edit /etc/pam.d/gdm adding this line at the bottom of the file:

@include common-pamkeyring

and please COMMENT OUT those lines:

# auth optional pam_gnome_keyring.so
# session optional pam_gnome_keyring.so auto_start

Create, if doesn't exist, the wheel group, editing /etc/group, and add your user to it

vi /etc/group

Edit /etc/sudoers, using visudo

visudo /etc/sudoers

adding a line containing:

yourusername ALL = NOPASSWD: ALL

Edit /etc/pam.d/sudo adding those lines:

auth sufficient pam_rootok.so
auth required pam_wheel.so
auth sufficient pam_wheel.so trust

Edit /etc/pam.d/su enabling this line (just uncomment it):

# Uncomment this if you want wheel members to be able to
# su without a password.
auth sufficient pam_wheel.so trust

The Incredible Idiocy: PolicyKit

The PolicyKit was a so stupid wast of time and resources that now is no more used. But for the unfortunate users that have this piece of crap, as stated in the man page, just edit /etc/PolicyKit/PolicyKit.conf as here:

<config version="0.1">
        <match user="root|YOUR_USER_HERE">
               <return result="yes"/>
        <define_admin_auth group="admin|wheel"/>

and restart the whole X damn thing


Other stupid things in Ubuntu

Close this terminal?

Terminal asking "Close this terminal? There is still a process running in this terminal. Closing the terminal will kill it". This is STUPID, STUPID, STUPID..

Launch gconf-editor -> Apps -> gnome-terminal -> global -> untick confirm_window_close

60 seconds delay on shutdown

Another STUPID thing.

Launch gconf-editor

Go to apps> indicator-session and check the box next to suppress_logout_restart_shutdown. Or if you wish to do it entirely from terminal:

gconftool-2 -s '/apps/indicator-session/suppress_logout_restart_shutdown' --type bool true

Sticky Windows at edges

The most annoying thing in the entire world. The great stupid thing is that you have compiz installed without the tool for configuring it!

so, apt-get install compizconfig-settings-manager and check out the snapping windows option in the window management section of the compiz config editor, that is under system - preferences menu.

Logout - Are you sure you want to logout?


USEFUL not installed programs

  • compizconfig-settings-manager (compiz INSTALLED and NOT CONFIGURABLE? STUPID!)
  • openssh-server (this is SO FUGKING STUPID!)
  • mc
  • gimp
  • joe

SHIT to be removed

  • f-spot