Manual:$wgShellRestrictionMethod/ru

From Linux Web Expert

<translate> Shell and process control</translate>: $wgShellRestrictionMethod
Method to use to restrict shell commands
<translate> Introduced in version:</translate>1.31.0 (Gerrit change 384930; git #Id74df0d)
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(string) or false
<translate> Default value:</translate>'autodetect' (1.35+)
false (1.31-1.34)

Details

This configuration supports 3 different values:

  • '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

См. также