From 90a027851a91dd0a50e471e61b0ed89cfe3c35e4 Mon Sep 17 00:00:00 2001 From: matt335672 <30179339+matt335672@users.noreply.github.com> Date: Mon, 27 Oct 2025 09:17:00 +0000 Subject: [PATCH] PassShellAsEnv: Update docs --- docs/man/sesman.ini.5.in | 3 +++ sesman/sesman.ini.in | 2 ++ 2 files changed, 5 insertions(+) diff --git a/docs/man/sesman.ini.5.in b/docs/man/sesman.ini.5.in index 55044d73..28615665 100644 --- a/docs/man/sesman.ini.5.in +++ b/docs/man/sesman.ini.5.in @@ -372,6 +372,9 @@ passed in to the default window manager in the specified environment variable. This allows the system manager more control over exactly what alternate shells are permitted. +This will override any setting of the same environment variable +in the \fB[SessionVariables]\fR section. + .TP \fBXorgNoNewPrivileges\fR=\fI[true|false]\fR Only applicable on Linux. If set to \fB0\fR, \fBfalse\fR or \fBno\fR, do diff --git a/sesman/sesman.ini.in b/sesman/sesman.ini.in index 617544f7..863a64de 100644 --- a/sesman/sesman.ini.in +++ b/sesman/sesman.ini.in @@ -51,6 +51,8 @@ RestrictInboundClipboard=none ; passed in to the default window manager in the specified environment ; variable. This allows the system manager more control over exactly ; what alternate shells are permitted. +; This will override any setting of the same environment variable +; in the [SessionVariables] section. #PassShellAsEnv=XRDP_ALTERNATE_SHELL ; On Linux systems, the Xorg X11 server is normally invoked using ; no_new_privs to avoid problems if the executable is suid. This may,