Gentoo Blog

The ultimate Gentoo Blog
  • Home
  • About

Gentoo gnome automatic keyring loading

Simon | February 10, 2008

When you log onto a gnome session in ubuntu your gnome keyring automatically gets loaded. So that you can use your WPA or ssh keys in your gnome session. On a gentoo install you get prompted to type in your password to unlock you keyring. So you have to type in your password twice this about how to stop this behavior and pass on your login from gdm to the keyring manager. You must edit a few files in /etc/pam.d

On a gentoo ~x86 system i had to edit the following files all changes i had to make are highlighted in bold text. Please follow the exact order of the statements they are important to make this work.

/etc/pam.d/system-auth

#%PAM-1.0
auth required pam_env.so
auth optional pam_gnome_keyring.so
auth sufficient pam_unix.so try_first_pass likeauth nullok
auth required pam_deny.so

account required pam_unix.so

password required pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 try_first_pass retry=3
password optional pam_gnome_keyring.so
password sufficient pam_unix.so nullok md5 shadow use_authtok
password required pam_deny.so

session required pam_limits.so
session optional pam_gnome_keyring.so auto_start
session required pam_unix.so

/etc/pam.d/gdm

#%PAM-1.0
auth optional pam_env.so
auth optional pam_gnome_keyring.so
auth include system-auth
auth required pam_nologin.so
session optional pam_gnome_keyring.so auto_start
account include system-auth
password include system-auth
session include system-auth

/etc/pam.d/passwd

#%PAM-1.0
password optional pam_gnome_keyring.so
auth include system-auth
account include system-auth
password include system-auth

/etc/pam.d/gnome-screensaver

#%PAM-1.0
# Fedora Core
auth optional pam_gnome_keyring.so
auth include system-auth
account include system-auth
password include system-auth
session include system-auth

# SuSE/Novell
#auth include common-auth
#account include common-account
#password include common-password
#session include common-session

Source Gentoo forum:

Share on Facebook
Comments
No Comments »
Categories
Gentoo
Comments rss Comments rss
Trackback Trackback

 

February 2008
M T W T F S S
« Jan   Mar »
 123
45678910
11121314151617
18192021222324
2526272829  

Categories

  • confixx/Plesk
  • fun
  • Gentoo
  • iptables
  • mysql
  • news
  • Raid Controllers
  • Stuff
  • Ubuntu/Debian
  • Xen/Vmware

Links

  • Gentoo
  • http.net
  • iphone software linux
  • michael-fuchs.net
  • Ubuntu
  • webupd8.org

Search Blog

rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox