Differences between revisions 7 and 9 (spanning 2 versions)
Revision 7 as of 2009-11-30 19:39:19
Size: 1949
Editor: asbesto
Comment:
Revision 9 as of 2009-11-30 20:31:28
Size: 2434
Editor: asbesto
Comment:
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
== Stupid passwords for everything ==

First,
Line 11: Line 15:
(it can be unnecessary on recent ubuntus) (i's not required on recent ubuntus)
Line 87: Line 91:
edit == The Incredible Idiocy: PolicyKit ==

As stated in the man page, just edit
Line 113: Line 119:
=== Close this terminal? ===
Line 115: Line 123:
open gconf-editor -> Apps -> gnome-terminal -> global -> untick confirm_window_close Launch gconf-editor -> Apps -> gnome-terminal -> global -> untick confirm_window_close
Line 117: Line 125:
=== 60 seconds delay on shutdown ===
Line 118: Line 127:
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.

Stupid passwords for everything

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 2024-03-28 13:17:11 by asbesto)