Translation Information

Project website docs.freebsd.org/en
Translation process
  • Translations can be made directly.
  • Translation suggestions can be made.
  • Only chosen users can contribute.
  • The translation uses bilingual files.
Translation license BSD 2-Clause "Simplified" License
Filemask documentation/content/*/books/handbook/audit/_index.po
Translation file Download documentation/content/zh_CN/books/handbook/audit/_index.po
#
# Compress audit trail files on close.
#
if [ "$1" = closefile ]; then
gzip -9 $2
fi
#
# Compress audit trail files on close.
#
if [ "$1" = closefile ]; then
gzip -9 $2
fi
3 days ago
New contributor 3 days ago
As audit trail files can become very large, it is often desirable to compress or otherwise archive trails once they have been closed by the audit daemon. The [.filename]#audit_warn# script can be used to perform customized operations for a variety of audit-related events, including the clean termination of audit trails when they are rotated. For example, the following may be added to [.filename]#/etc/security/audit_warn# to compress audit trails on close:
由于审计记帐文件会变得很大, 通常会希望在审计服务关闭它时, 对其进行压缩或归档。 <filename>audit_warn</filename> 脚本可以用来在一系列与审计有关的事件发生时, 执行一些用户定义的操作, 这也包括在审计记帐翻转时进行清理操作。 举例而言, 可以在 <filename>/etc/security/audit_warn</filename> 脚本中加入下列内容来在审计记帐关闭时压缩它:
3 days ago
New contributor 3 days ago
The change will take effect once [.filename]#/etc/crontab# is saved.
这些修改会在您保存 <filename>/etc/crontab</filename> 后生效。
3 days ago
New contributor 3 days ago
0 */12 * * * root /usr/sbin/audit -n
0 */12 * * * root /usr/sbin/audit -n
3 days ago
New contributor 3 days ago
Adding the following line to [.filename]#/etc/crontab# will schedule this rotation every twelve hours:
在 <filename>/etc/crontab</filename> 加入如下设置, 将使 <citerefentry><refentrytitle>cron</refentrytitle><manvolnum>8</manvolnum></citerefentry> 每十二小时将日志轮转一次:
3 days ago
New contributor 3 days ago
Browse all translation changes

Statistics

Percent Strings Words Chars
Total 98 2,645 17,606
Translated 27% 27 371 2,388
Needs editing 31% 31 897 6,090
Failing checks 6% 6 53 520

Last activity

Last change April 11, 2021, 10:23 a.m.
Last author Anonymous

Daily activity

Daily activity

Weekly activity

Weekly activity