mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
1 line
731 B
HTML
1 line
731 B
HTML
<header>用于传递给外部命令的Shell </header><center> <tt>local_command_shell</tt> </center> <hr>此参数控制将使用什么外壳来传递给外部命令。默认情况下,外部命令直接执行;仅当命令包含shell元字符或shell内置命令时,才将它们提供给<tt>/bin/sh</tt> 。 <p>当您需要更多控制可以从<tt>.forward</tt>文件运行的程序时,请指定其他外壳程序。 <p>大多数人会使用“ sendmail的受限外壳” <tt>smrsh</tt> ( <tt>smrsh</tt>是最近sendmail发行版的一部分) <p>注意:指定外壳程序后,即使命令不包含外壳程序内置命令或元字符,也会调用该外壳程序。 <p>示例: <tt>/some/where/smrsh -c</tt> <p><hr> |