开发者

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

开发者 https://www.devze.com 2023-03-13 22:57 出处:网络
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 r

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

精彩评论

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