Differences between revisions 1 and 2
Revision 1 as of 2009-08-06 16:05:05
Size: 1409
Editor: asbesto
Comment:
Revision 2 as of 2009-08-06 16:17:24
Size: 1533
Editor: asbesto
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
Template di base per pagine freaknet, con acl settate in base a FreakNetGroup. -asb
As root:
Line 5: Line 3:
1. apt-get install libpam-gnome-keyring = How to get rid of passwords in Ubuntu =
Line 8: Line 6:
2. if you don't have it, create a file named {{{
apt-get install libpam-gnome-keyring
}}}
Line 10: Line 10:
(it can be unnecessary on recent ubuntus)

Create a file named

{{{
Line 11: Line 16:
}}}
Line 14: Line 20:
{{{
Line 17: Line 23:
}}}
Line 18: Line 25:
edit
Line 19: Line 27:
3. edit /etc/pam.d/gdm adding this line at the bottom of the file: {{{
/etc/pam.d/gdm
}}}
Line 21: Line 31:
adding this line at the bottom of the file:

{{{
Line 22: Line 35:
}}}
Line 25: Line 39:
{{{
Line 28: Line 42:
}}}
Line 29: Line 44:
Create, if doesn't exist, the "wheel" group, editing /etc/group, and add your user to it
Line 30: Line 46:
4. Create, if doesn't exist, the "wheel" group, editing /etc/group, and add your user to it {{{
vi /etc/wheel
}}}
Line 32: Line 50:
5. add this in /etc/sudoers using "visudo": add this in
Line 34: Line 52:
{{{
/etc/sudoers
}}}

using "visudo":

{{{
Line 35: Line 60:
}}}
Line 36: Line 62:
6. add those things in /etc/pam.d/sudo : add those things in
Line 38: Line 64:
{{{
/etc/pam.d/sudo
}}}
Line 39: Line 68:
{{{
Line 42: Line 72:
}}}
Line 43: Line 74:
enable this in your
Line 44: Line 76:
7. enable this in your /etc/pam.d/su {{{
/etc/pam.d/su
}}}
Line 46: Line 80:
{{{
Line 49: Line 84:
}}}
Line 50: Line 86:
8. edit /etc/PolicyKit/PolicyKit.conf as here: edit

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

as here:
Line 62: Line 104:
9. restart the whole X damn thing restart the whole X damn thing
Line 65: Line 107:
AND LIVE IN HAPPINESS '''AND LIVE IN HAPPINESS'''

How to get rid of passwords in Ubuntu

apt-get install libpam-gnome-keyring

(it can be unnecessary 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/wheel

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

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

GnuLinuxPurification (last edited 2024-04-18 09:39:18 by asbesto)