session management: Allow for restricted shells

Allows the AlternateShell specified by the user in the TS_INFO_PACKET
to be passed to startwm.sh as an environment variable.
This commit is contained in:
matt335672
2025-10-17 11:33:26 +01:00
parent 23e12403e3
commit 6b6edca8ca
6 changed files with 47 additions and 1 deletions
+7
View File
@@ -365,6 +365,13 @@ because the system is unable to check whether the user is an administrator.
\fBAllowAlternateShell\fR=\fI[true|false]\fR
If set to \fB0\fR, \fBfalse\fR or \fBno\fR, prevent usage of alternate shells by users.
.TP
\fBPassShellAsEnv\fR=\fI<name-of-environment-variable>\fR
If this is set, alternate shells are not actioned directly, but
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.
.TP
\fBXorgNoNewPrivileges\fR=\fI[true|false]\fR
Only applicable on Linux. If set to \fB0\fR, \fBfalse\fR or \fBno\fR, do