File: fix-environment.diff

package info (click to toggle)
xrdp 0.9.21.1-1%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 12,748 kB
  • sloc: ansic: 88,046; sh: 5,454; asm: 4,742; cpp: 1,307; makefile: 1,155
file content (14 lines) | stat: -rw-r--r-- 500 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Initialise the environment properly
Author: Thorsten Glaser <tg@debian.org>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=996418
Forwarded: https://github.com/neutrinolabs/xrdp/issues/1773

--- a/instfiles/pam.d/xrdp-sesman.debian
+++ b/instfiles/pam.d/xrdp-sesman.debian
@@ -1,4 +1,6 @@
 #%PAM-1.0
+auth required pam_env.so readenv=1
+auth required pam_env.so readenv=1 envfile=/etc/default/locale
 @include common-auth
 @include common-account
 @include common-session