How can I log information about ftp accesses to a file?

How can I log information about ftp accesses to a file? From: elr@trintex.uucp (Ed Ravin)

From: map@hal.maths.monash.edu.au (Michael Page)

1) In /etc/syslog.conf, add the line:
daemon.debug /tmp/daemon.log

2) # touch /tmp/daemon.log
# refresh -s syslogd

3) Modify your inetd.conf so that ftpd is called with the "-l" flag.
You may also want the "-d" flag. This can be done with 'smit inetdconf'.

All the syslog messages from various system daemons should now appear in
the file "/tmp/daemon.log".



Home FAQ