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.
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
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:
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
Edit /etc/sudoers, using visudo
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"/> </match> <define_admin_auth group="admin|wheel"/> </config>
and restart the whole X damn thing
NOW LIVE IN HAPPINESS
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.
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.
Logout - Are you sure you want to logout?
YES GODDAMN, I'M FUCKING SURE, HOLY SHIT SHUT THE FUCK UP AND LOG THE FUCK OUT!
USEFUL not installed programs
- openssh-server (this is SO FUGKING STUPID!)
SHIT to be removed