How to get rid of passwords and idiot requests in Ubuntu

This post is useful for people TIRED to write the same DAMN PASSWORD into their ubuntu box.

apt-get install libpam-gnome-keyring

(it can be unnecessary on recent ubuntus)

Create a file named



auth optional try_first_pass
session optional



adding this line at the bottom of the file:

@include common-pamkeyring

and please COMMENT OUT those lines:

# auth optional
# session optional auto_start

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

vi /etc/group

add this in


using "visudo":

yourusername ALL = NOPASSWD: ALL

add those things in


auth sufficient
auth required
auth sufficient trust

enable this in your


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



as here:

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

restart the whole X damn thing


Other stupid things in Ubuntu

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..

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