我怎样才能让 Apache 记录谁启动/停止了它?
我需要 Apache2.2 来记录任何尝试启动或停止它的人的用户名。我该怎么办?
I need Apache2.2 to log the username of anyone who tries to start or stop it. How do i go about it?
我需要 Apache2.2 来记录任何尝试启动或停止它的人的用户名。我该怎么办?
I need Apache2.2 to log the username of anyone who tries to start or stop it. How do i go about it?
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
这可以通过 sudo 来实现,不允许用户直接以 root 身份登录,只允许他们执行特定的操作,并且每个操作都可以被记录。
This could be achived by sudo, not allowing users to log in as root directly and allow them only specific action, and each action can be logged.