|
使用下面的步骤来设置ftp进行日志记录: .. 1.#cp/etc/inetd.conf/etc/inetd.conf.bak ! 2.#vi/etc/inetd.conf .. 编辑如下的ftp行,在最后加上-l标志: ftpstreamtcp6nowaitroot/usr/sbin/ftpdftpd-l 对真正的成功者来说,不论他的生存条件如何,都不会自我磨灭 3.#vi/etc/syslog.conf . 在syslog.conf文件的最后加上下面的行: daemon.info/tmp/ftp.log . 4.#touch/tmp/ftp.log . 5.#refresh-sinetd . 6.#refresh-ssyslogd 。
|







