文件操作 - secure.conf
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/logwatch/default.conf/logfiles/secure.conf
编辑文件内容
########################################################################## # $Id: secure.conf,v 1.16 2007/10/01 16:55:18 mike Exp $ ########################################################################## ######################################################## # This was written and is maintained by: # Kirk Bauer <kirk@kaybee.org> # # Please send all comments, suggestions, bug reports, # etc, to kirk@kaybee.org. ######################################################## # What actual file? Defaults to LogPath if not absolute path.... LogFile = secure LogFile = authlog LogFile = auth.log LogFile = auth.log.0 # If the archives are searched, here is one or more line # (optionally containing wildcards) that tell where they are... #If you use a "-" in naming add that as well -mgt Archive = secure.* Archive = archiv/secure.* Archive = authlog.* Archive = auth.log.*.gz Archive = secure-* Archive = archiv/secure-* Archive = authlog-* Archive = auth.log-*.gz # Expand the repeats (actually just removes them now) *ExpandRepeats # Keep only the lines in the proper date range... *ApplyStdDate # vi: shiftwidth=3 tabstop=3 et
修改文件时间
将文件时间修改为当前时间的前一年
删除文件