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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user