Niente-password-per-synaptic-eccetera howto
Da Poetry Hacklab.
NOTA: la versione AGGIORNATA di questo howto si trova su http://lab.dyne.org/UbuntuAvoidPasswords
COME EVITARE LA ROTTURA DI CAZZO DELLE PASSWORD PER: SYNAPTIC PACKAGE
MANAGER, NETWORK-MANAGER, E TUTTE LE CAZZATE DI GNOME, dato che TI
SEI GIA' LOGGATO, QUINDI HAI GIA' I CAZZO DI PRIVILEGI, IL COMPUTER
E' IL TUO, SEI LI' DAVANTI E NON HA SENSO CHE TI SI ROMPA IL CAZZO
per UBUNTU
1. sudo apt-get install libpam-keyring
2. if you don't have it, create a file named
/etc/pam.d/common-pamkeyring
containing:
auth optional pam_keyring.so try_first_pass
session optional pam_keyring.so
3. edit /etc/pam.d/gdm adding this line at the bottom of the file:
@include common-pamkeyring
4. restart the whole X damn thing
5. add yourself in the "wheel" group
6. add this in /etc/sudoers using "visudo":
yourusername ALL = NOPASSWD: ALL
7. add those things in /etc/pam.d/sudo :
auth sufficient pam_rootok.so
auth required pam_wheel.so
auth sufficient pam_wheel.so trust
8. 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
AND LIVE IN HAPPINESS
=====================
FINE

