diff options
author | Neel Chauhan <nc@FreeBSD.org> | 2022-04-16 20:30:50 +0000 |
---|---|---|
committer | Neel Chauhan <nc@FreeBSD.org> | 2022-04-16 20:32:34 +0000 |
commit | a21252d17fda424c84c09f9a3af2d9f27d5107ce (patch) | |
tree | b81caa2103199045c96f54e480b68e4f85711ecb | |
parent | 5fc69ca6f1e62aafd4416ee92826805711d9a3fc (diff) | |
download | ports-a21252d17fda424c84c09f9a3af2d9f27d5107ce.tar.gz ports-a21252d17fda424c84c09f9a3af2d9f27d5107ce.zip |
x11/gdm: Unlock the user's keyring during login
PR: 263309
Reported by: cyclaero AT gmail DOT com
-rw-r--r-- | x11/gdm/Makefile | 2 | ||||
-rw-r--r-- | x11/gdm/files/gdm-autologin.in | 4 | ||||
-rw-r--r-- | x11/gdm/files/gdm-password.in | 4 |
3 files changed, 9 insertions, 1 deletions
diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile index eb2116ffa0b8..44ed781324f5 100644 --- a/x11/gdm/Makefile +++ b/x11/gdm/Makefile @@ -2,7 +2,7 @@ PORTNAME= gdm PORTVERSION= 42.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11 gnome MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/} DIST_SUBDIR= gnome diff --git a/x11/gdm/files/gdm-autologin.in b/x11/gdm/files/gdm-autologin.in index 378cd549e9bd..9e89fd1fcbbb 100644 --- a/x11/gdm/files/gdm-autologin.in +++ b/x11/gdm/files/gdm-autologin.in @@ -4,9 +4,13 @@ auth required pam_permit.so +auth optional /usr/local/lib/pam_ck_connector.so +auth optional /usr/local/lib/pam_gnome_keyring.so + account required pam_nologin.so account include system password include system session include system +session optional /usr/local/lib/pam_gnome_keyring.so auto_start diff --git a/x11/gdm/files/gdm-password.in b/x11/gdm/files/gdm-password.in index 01ca683c7967..3b7b48e2e9b9 100644 --- a/x11/gdm/files/gdm-password.in +++ b/x11/gdm/files/gdm-password.in @@ -4,9 +4,13 @@ auth include system +auth optional /usr/local/lib/pam_ck_connector.so +auth optional /usr/local/lib/pam_gnome_keyring.so + account required pam_nologin.so account include system password include system session include system +session optional /usr/local/lib/pam_gnome_keyring.so auto_start |