Template di base per pagine freaknet, con acl settate in base a FreakNetGroup. -asb As root:
1. apt-get install libpam-gnome-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
and please COMMENT OUT those lines:
# auth optional pam_gnome_keyring.so # session optional pam_gnome_keyring.so auto_start
4. Create, if doesn't exist, the "wheel" group, editing /etc/group, and add your user to it
5. add this in /etc/sudoers using "visudo":
yourusername ALL = NOPASSWD: ALL
6. add those things in /etc/pam.d/sudo :
auth sufficient pam_rootok.so auth required pam_wheel.so auth sufficient pam_wheel.so trust
7. 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
8. 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>
9. restart the whole X damn thing
AND LIVE IN HAPPINESS