天天看點

linux下監控使用者操作記錄的工具apt-get install bsdutilsmkdir /opt/operation_logchmod 777 -R /opt/operation_logvi /etc/profilesource /etc/profilescriptreplay /opt/operation_log/root-0-2018-01-30-20\:11\:29.data /opt/operation_log/root-0-2018-01-30-20\:11\:29.log

linux下監控使用者操作記錄的工具:

exec script -t 2&gt; /opt/operation_log/$USER-$UID-<code>date +%F-%T</code>.data -a -q -f /opt/operation_log/$USER-$UID-<code>date +%F-%T</code>.log

:wq

操作記錄回放:

本文轉自linux部落格51CTO部落格,原文連結http://blog.51cto.com/yangzhiming/2067023如需轉載請自行聯系原作者

yangzhimingg

繼續閱讀