Chinaunix首页 | 论坛 | 博客
  • 博客访问: 749211
  • 博文数量: 130
  • 博客积分: 2951
  • 博客等级: 少校
  • 技术积分: 1875
  • 用 户 组: 普通用户
  • 注册时间: 2010-03-04 18:32
文章分类

全部博文(130)

文章存档

2013年(1)

2012年(129)

分类: 系统运维

2012-07-27 09:55:22

比如我想配置 syslog 守护进程将所有来自 IP 过滤的条目记录在指定的文件中。
当然了,首先要启动ipsec,参看另一篇博客文章
## Backup syslog.conf file before modifying it.
# cp /etc/syslog.conf /etc/syslog.conf.bak
## Append entry for IP filters logs.
# echo "local4.debug /var/adm/ipsec.log" >> /etc/syslog.conf
## Create log file and set permissions (permissions may depend on
## company policies)
# touch /var/adm/ipsec.log
# chmod 644 /var/adm/ipsec.log
## Refresh the syslog subsystem to activate the new configuration.
# refresh -s syslogd
0513-095 The request for subsystem refresh was completed successfully.

阅读(1373) | 评论(0) | 转发(0) |
0

上一篇:用IPSec过滤包

下一篇:AIX的启动

给主人留下些什么吧!~~