不过,您可以对第一个命令使用输入重定向,然后在剩余的管道下中导出该命令的输出,这是更加常见的解决方案。
However, you can use input redirection for the first command and then pipe that command's output through the rest of the pipeline for the more usual solution.
要想让审计系统输出所有已分析的、作为被监视命令一部分的选项,则需要确保审计系统输出了记录的剩余部分。
To be able to get audit to print any options parsed, as part of the command being monitored, you need to ensure audit prints the trail part of the record.
如果不输出记录的剩余部分,就没有这些信息。
If no trail record was printed, this information would not be present.
应用推荐