Differences between revisions 2 and 4 (spanning 2 versions)
Revision 2 as of 2009-08-06 16:17:24
Size: 1533
Editor: asbesto
Comment:
Revision 4 as of 2009-11-30 19:25:59
Size: 1630
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: #acl FreaknetGroup:read,write,admin,delete,revert All:read
Line 5: Line 5:
This post is useful for people TIRED to write the same DAMN PASSWORD into their ubuntu box.

How to get rid of passwords in Ubuntu

This post is useful for people TIRED to write the same DAMN PASSWORD into their ubuntu box.

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

LinuxPurification (last edited 2025-04-06 15:59:14 by asbesto)