文件操作 - 20-dont-audit.rules
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/audit/sample-rules/20-dont-audit.rules
编辑文件内容
## This is for don't audit rules. We put these early because audit ### is a first match wins system. Uncomment the rules you want. ## Cron jobs fill the logs with stuff we normally don't want #-a never,user -F subj_type=crond_t ## This prevents chrony from overwhelming the logs #-a never,exit -F arch=x86_64 -S adjtimex -F auid=unset -F uid=chrony -F subj_type=chronyd_t ### This is not very interesting and wastes a lot of space if ### the server is public facing #-a always,exclude -F msgtype=CRYPTO_KEY_USER
修改文件时间
将文件时间修改为当前时间的前一年
删除文件