summaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorgusi <gusi@df743ca5-7f9a-e211-a948-0013205c9059>2013-11-12 06:39:52 +0800
committergusi <gusi@df743ca5-7f9a-e211-a948-0013205c9059>2013-11-12 06:39:52 +0800
commit4aa15f7a9534c5cef900eb492fc6c8141e1ca94c (patch)
tree334c40e9572237f343d127791ca03393b76242a7 /x11
parent7b555567eac2b424c043528cc6aba6e5c2dec1e8 (diff)
downloadmarcuscom-ports-4aa15f7a9534c5cef900eb492fc6c8141e1ca94c.tar.gz
marcuscom-ports-4aa15f7a9534c5cef900eb492fc6c8141e1ca94c.tar.zst
marcuscom-ports-4aa15f7a9534c5cef900eb492fc6c8141e1ca94c.zip
Add a message to help integrating gdm and gnome-keyring to easily and automatically
unlock the keyring on behalf of the user. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@18882 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11')
-rw-r--r--x11/gdm/pkg-message16
1 files changed, 16 insertions, 0 deletions
diff --git a/x11/gdm/pkg-message b/x11/gdm/pkg-message
index 038101552..b6567dce0 100644
--- a/x11/gdm/pkg-message
+++ b/x11/gdm/pkg-message
@@ -4,3 +4,19 @@ Do _NOT_ use /etc/ttys to start gdm at boot time. This will result in gdm
hanging or restarting constantly. Instead, add gdm_enable="YES" to
/etc/rc.conf. GDM will be started automatic on the next reboot.
+If Gnomekeyring/PAM integration was choosen, the keyring can be automatically
+unlocked if:
+
+1) the password protecting it is the same as the password user
+2) and the following directives using pam_gnome_keyring are added
+ to ${LOCALBASE}/etc/pam.d/gdm-password:
+
+ auth include system
+ ....
+ auth optional ${LOCALBASE}/lib/pam_gnome_keyring.so
+
+ session include system
+ ....
+ session optional ${LOCALBASE}/lib/pam_gnome_keyring.so auto_start
+
+It is recommended to put thouse directives at least after the system directives.