Differences between revisions 1 and 11 (spanning 10 versions)
Revision 1 as of 2009-08-06 16:05:05
Size: 1409
Editor: asbesto
Comment:
Revision 11 as of 2009-11-30 20:45:37
Size: 2941
Editor: asbesto
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#acl FreaknetGroup:read,write,admin,delete,revert All:
Template di base per pagine f
reaknet, con acl settate in base a FreakNetGroup. -asb
As root:
#acl FreaknetGroup:read,write,admin,delete,revert All:read
Line 5: Line 3:
1. apt-get install libpam-gnome-keyring = 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.
At next Gnome restart, it will ask for the fucking password. Just press "Enter" and use the UNSAFE STORAGE. holy shit!

== Automatic login ==

System - Administration - Login and select the damn user

== IDIOT keyring password ==

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

== Stupid passwords for everything ==
Line 8: Line 19:
2. if you don't have it, create a file named
Line 10: Line 20:
=== Disable the damn Gnome Keyring Manager Password ===

Applications - Accessories - Passwords and encryption keys



=== All other passwords ===

First,

{{{
apt-get install libpam-gnome-keyring
}}}

(i's not required on recent ubuntus)

Create a file named

{{{
Line 11: Line 40:
}}}
Line 14: Line 44:
{{{
Line 17: Line 47:
}}}
Line 18: Line 49:
edit
Line 19: Line 51:
3. edit /etc/pam.d/gdm adding this line at the bottom of the file: {{{
/etc/pam.d/gdm
}}}
Line 21: Line 55:
adding this line at the bottom of the file:

{{{
Line 22: Line 59:
}}}
Line 25: Line 63:
{{{
Line 28: Line 66:
}}}
Line 29: Line 68:
Create, if doesn't exist, the "wheel" group, editing /etc/group, and add your user to it
Line 30: Line 70:
4. Create, if doesn't exist, the "wheel" group, editing /etc/group, and add your user to it {{{
vi /etc/group
}}}
Line 32: Line 74:
5. add this in /etc/sudoers using "visudo": add this in
Line 34: Line 76:
{{{
/etc/sudoers
}}}

using "visudo":

{{{
Line 35: Line 84:
}}}
Line 36: Line 86:
6. add those things in /etc/pam.d/sudo : add those things in
Line 38: Line 88:
{{{
/etc/pam.d/sudo
}}}
Line 39: Line 92:
{{{
Line 42: Line 96:
}}}
Line 43: Line 98:
enable this in your
Line 44: Line 100:
7. enable this in your /etc/pam.d/su {{{
/etc/pam.d/su
}}}
Line 46: Line 104:
{{{
Line 49: Line 108:
}}}
Line 50: Line 110:
8. edit /etc/PolicyKit/PolicyKit.conf as here: == The Incredible Idiocy: PolicyKit ==

As stated in the man page, just
edit

{{{
/etc/PolicyKit/PolicyKit.conf
}}}

as here:
Line 62: Line 130:
9. restart the whole X damn thing restart the whole X damn thing
Line 65: Line 133:
AND LIVE IN HAPPINESS '''AND 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
}}}

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. At next Gnome restart, it will ask for the fucking password. Just press "Enter" and use the UNSAFE STORAGE. holy shit!

Automatic login

System - Administration - Login and select the damn user

IDIOT keyring password

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

Stupid passwords for everything

Disable the damn Gnome Keyring Manager Password

Applications - Accessories - Passwords and encryption keys

All other passwords

First,

apt-get install libpam-gnome-keyring

(i's not required on recent ubuntus)

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

add this in

/etc/sudoers

using "visudo":

yourusername ALL = NOPASSWD: ALL

add those things in

/etc/pam.d/sudo

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

enable this in your

/etc/pam.d/su

# 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

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>

restart the whole X damn thing

AND 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

GnuLinuxPurification (last edited 2019-11-18 12:00:47 by asbesto)