Size: 1631
Comment:
|
Size: 3977
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
## page was renamed from UbuntuAvoidPasswords | |
Line 3: | Line 4: |
= How to get rid of passwords in Ubuntu = | = Ubuntu PURIFICATION = |
Line 5: | Line 6: |
This post is useful for people TIRED to write the same DAMN PASSWORD into their ubuntu box. | 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?!? |
Line 8: | Line 14: |
apt-get install libpam-gnome-keyring | System - Administration - Login and select the damn user |
Line 11: | Line 17: |
(it can be unnecessary on recent ubuntus) | You can select this while installing the Ubuntu. |
Line 13: | Line 19: |
Create a file named | == 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. SOO STUPID! 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. |
Line 16: | Line 32: |
/etc/pam.d/common-pamkeyring | Applications - Accessories - Passwords and encryption keys |
Line 19: | Line 35: |
containing: | 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: |
Line 26: | Line 48: |
edit {{{ /etc/pam.d/gdm }}} adding this line at the bottom of the file: |
Edit '''/etc/pam.d/gdm''' adding this line at the bottom of the file: |
Line 45: | Line 61: |
Create, if doesn't exist, the "wheel" group, editing /etc/group, and add your user to it | Create, if doesn't exist, the '''wheel''' group, editing '''/etc/group''', and add your user to it |
Line 48: | Line 64: |
vi /etc/groups | vi /etc/group |
Line 51: | Line 67: |
add this in | Edit '''/etc/sudoers''', using '''visudo''' |
Line 54: | Line 70: |
/etc/sudoers | visudo /etc/sudoers |
Line 57: | Line 73: |
using "visudo": | adding a line containing: |
Line 63: | Line 79: |
add those things in {{{ /etc/pam.d/sudo }}} |
Edit '''/etc/pam.d/sudo''' adding those lines: |
Line 75: | Line 87: |
enable this in your {{{ /etc/pam.d/su }}} |
Edit '''/etc/pam.d/su''' enabling this line (just uncomment it): |
Line 87: | Line 95: |
edit | == The Incredible Idiocy: PolicyKit == |
Line 89: | Line 97: |
{{{ /etc/PolicyKit/PolicyKit.conf }}} as here: |
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: |
Line 104: | Line 108: |
restart the whole X damn thing |
and restart the whole X damn thing |
Line 108: | Line 111: |
'''AND LIVE IN HAPPINESS''' | '''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. 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. === 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!) * mc * gimp * joe === SHIT to be removed === * f-spot |
Ubuntu PURIFICATION
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.
SOO STUPID!
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"/> </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.
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.
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!)
- mc
- gimp
- joe
SHIT to be removed
- f-spot