Quantcast
Channel: Active questions tagged linux-kernel - Stack Overflow
Viewing all articles
Browse latest Browse all 12244

/etc/syslog.conf - Log specific command and send it to specific file

$
0
0

Is it possible via /etc/syslog.conf to create a rule that log a specific command that user invoke and send it to a specifi log file?

For example i want that when users type history -d syslogd daemon log this information inside a specific file.

Is that possible?


Viewing all articles
Browse latest Browse all 12244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>