文件操作 - selinux-common.conf
返回文件管理
返回主菜单
删除本文件
文件: /etc/fail2ban/filter.d/selinux-common.conf
编辑文件内容
# Fail2Ban configuration file for generic SELinux audit messages # # This file is not intended to be used directly, and should be included into a # filter file which would define following variables. See selinux-ssh.conf as # and example. # # _type # _uid # _auid # _subj # _msg # # Also one of these variables must include <HOST>. [Definition] failregex = ^type=%(_type)s msg=audit\(:\d+\): (user )?pid=\d+ uid=%(_uid)s auid=%(_auid)s ses=\d+ subj=%(_subj)s msg='%(_msg)s'$ ignoreregex = datepattern = EPOCH # Author: Daniel Black
修改文件时间
将文件时间修改为当前时间的前一年
删除文件