|
|
||||
首页
文学作品 网页设计 平面设计 程序设计 考试认证 基础办公 QQ资源 服务器架设 网站运营 网页资源
|
|
|
| 汉南在线 → 服务器架设 → 网站架设 | |||||||||||
使用下面的步骤来设置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
| |||||||||||
| >> 相关文章 | |||||||||||
|
授权使用:汉南在线 http://hnzx.hzwz.net/ 经营许可证:陕ICP备05000109号 Powered by:汉南在线 Copyright (c) 2002-2008 汉南在线. All Rights Reserved . |