 |
配置记录FTP传输情况的Linux FTP服务器 |
|
|
| 配置记录FTP传输情况的Linux FTP服务器 |
|
| 作者:kit 文章来源:赛迪网 点击数: 更新时间:2007-9-16 1:39:49 |
|
|
使用下面的步骤来设置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
|
|
| 文章录入:郝丽 责任编辑:郝丽 |
|
|
上一篇文章: Ubuntu Linux系统屏幕刷新率问题的解决 下一篇文章: Linux平台上Iptables包过滤防火墙的实现 |
|
|
| 【字体:小 大】【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口】 |
|
|
网友评论:(只显示最新10条。评论内容只代表网友观点,与本站立场无关!) |
|
|
|
|
|