Chinaunix首页 | 论坛 | 博客
  • 博客访问: 183429
  • 博文数量: 65
  • 博客积分: 1790
  • 博客等级: 上尉
  • 技术积分: 460
  • 用 户 组: 普通用户
  • 注册时间: 2010-09-21 23:51
文章分类
文章存档

2012年(8)

2011年(38)

2010年(19)

分类:

2010-09-23 01:34:12

使用下面的步骤来设置ftp进行日志记录:
1.# cp /etc/inetd.conf /etc/inetd.conf.bak
2.# vi /etc/inetd.conf

编辑如下的ftp行,在最后加上-l标志:
ftp stream tcp6 nowait root /usr/sbin/ftpd ftpd -l

3.# vi /etc/syslog.conf
在syslog.conf文件的最后加上下面的行:
daemon.info /tmp/ftp.log

4.# touch /tmp/ftp.log
5.# refresh -s inetd
6.# refresh -s syslogd
 
转载
阅读(1143) | 评论(0) | 转发(0) |
0

上一篇:Solaris日志记录介绍

下一篇:Solaris FTP问题

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