开发者

How to make History command to record the userid, timestamp, ip address and command

We have a server being visited all the time. I want to record the userid, ip address and commands bei开发者_StackOverflow中文版ng executed. Please kindly tell me how to do it? Thanks!


I think you're really looking for auditing. A few quick pointers:

  • For Linux
  • For FreeBSD

Basically, these frameworks can be configured to log every command executed, including the arguments given, etc.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜