Skip to content

Commit

Permalink
Add keyring support for Debian and Arch
Browse files Browse the repository at this point in the history
Adds optional calls to GNOME and KDE keyrings for Debian and Arch.

Also upstreams a current Debian patch to call pam_env.so
  • Loading branch information
matt335672 committed Aug 30, 2023
1 parent a111a0f commit 8fb5bd9
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 5 deletions.
15 changes: 11 additions & 4 deletions instfiles/pam.d/xrdp-sesman.arch
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
#%PAM-1.0
auth include system-remote-login
account include system-remote-login
password include system-remote-login
session include system-remote-login
auth include system-remote-login
-auth optional pam_gnome_keyring.so
-auth optional pam_kwallet5.so

account include system-remote-login

password include system-remote-login

session include system-remote-login
-session optional pam_gnome_keyring.so auto_start
-session optional pam_kwallet5.so auto_start
11 changes: 10 additions & 1 deletion instfiles/pam.d/xrdp-sesman.debian
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
#%PAM-1.0
auth required pam_env.so readenv=1
auth required pam_env.so readenv=1 envfile=/etc/default/locale
@include common-auth
-auth optional pam_gnome_keyring.so
-auth optional pam_kwallet5.so

@include common-account
@include common-session

@include common-password

@include common-session
-session optional pam_gnome_keyring.so auto_start
-session optional pam_kwallet5.so auto_start

0 comments on commit 8fb5bd9

Please sign in to comment.