wu-ftp on Solaris 2.5

        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

follow.

Becky Littleton

        

==========================================================

From:dengland@ivac.com (Dave England)

# Needed for FTP Logging

daemon.info /var/log/ftplog

==========================================================

From: Leonard Sitongia <sitongia@zia.hao.ucar.edu>

My syslog conf has daemon.notice and daemon.debug declared. Maybe you

need the .debug one.

==========================================================

From: "Rasana P. Atreya" <Rasana.Atreya@library.ucsf.edu>

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

==========================================================

==========================================================

MY ORIGINAL POST FOLLOWS:

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;auth.info /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

ral@rspac.ivv.nasa.gov

        

[4455 byte] By [CodeProf.com] at [2007-12-25 10:02:00]