Jump to content

Manual:$wgShellRestrictionMethod

From mediawiki.org
Revision as of 10:45, 6 December 2023 by FuzzyBot (talk | contribs) (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Shell and process control: $wgShellRestrictionMethod
Method to use to restrict shell commands
Introduced in version:1.31.0 (Gerrit change 384930; git #Id74df0d)
Removed in version:Still in use
Allowed values:(string) or false
Default value:'autodetect' (1.35+)
false (1.31-1.34)

Detaljer

Denne konfiguration understøtter 3 forskellige værdier:

  • 'autodetect' - Autodetect if any restriction methods are available, currently only firejail
  • 'firejail' - Use firejail (https://firejail.wordpress.com/), a Linux sandboxing system.
  • false - Don't use any restrictions

Se også