SUMMARY: wu-ftp on Solaris 2.5

From: Rebecca Littleton (
Date: Fri Apr 26 1996 - 11:59:17 CDT

        Thanks so very much to the three people who responded
so quickly to my post to this list. I chose the first solution from
Dave England. My wu-ftp is now logging commands entered during
an FTP session. My kudos to the "Sun-Managers" community --
a great bunch of people!
        My original post and the three responses I received
Becky Littleton


From: (Dave England)
# Needed for FTP Logging /var/log/ftplog

From: Leonard Sitongia <>
My syslog conf has daemon.notice and daemon.debug declared. Maybe you
need the .debug one.

From: "Rasana P. Atreya" <>
To log sessions:

vi /etc/syslog.conf // indicate where log is to be
/usr/etc/in.ftpd -dl // SunOS: "man" ftpd: log ftp session incl. debug info
/usr/sbin/in.ftpd -dl // on solaris.
ps -ef | grep inetd // ftpd server is invoked by inetd each time an
                      // ftp connection is made.
kill -1 (pid of inetd)
vi /usr/adm/xferlog // logs regular file transfers

Sun Managers:

        I have not been able to get wu-ftp to log commands
entered during FTP sessions to a Sun. I think I have everything
configured correctly, but still it doesn't log commands. It
logs transfers but not commands entered during an FTP session.
Here's how I have wu-ftp configured:

Here's the file /etc/syslog.conf
*.err;kern.notice;auth.notice;user.none /dev/console
*.err;kern.debug;daemon.notice;mail.crit;user.none /var/adm/messages

*.alert;kern.err;daemon.err;user.none operator
*.alert;user.none root

*.emerg;user.none *
auth.notice; /var/log/syslog

# if a non-loghost machine chooses to have authentication messages
# sent to the loghost machine, un-comment out the following line:
#auth.notice ifdef(`LOGHOST', /var/log/authlog, @loghost)

mail.debug ifdef(`LOGHOST', /var/log/syslog, @loghost)

# non-loghost machines will use the following lines to cause "user"
# log messages to be logged locally.
ifdef(`LOGHOST', ,
user.err /dev/console
user.err /var/adm/messages
user.alert `root, operator'
user.emerg *

In the file /etc/ftpaccess, I entered these lines:
        log commands real,anonymous,guest
        log transfers real,anonymous,guest inbound,outbound

        Your help will be greatly appreciated. Thanks.

Becky Littleton
Systems Admin
West Virginia University
NASA IV&V Facility


This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:58 CDT