命令可以在任何 shell 中执行之前写入日志文件吗?我知道 ssh 有一个补丁可以记录来自 ssh 会话的所有命令,但我什至想记录通过 cgi 或 php-scripts 从网络服务器执行的命令。
shell security logs monitoring
logs ×1
monitoring ×1
security ×1
shell ×1