FTP logging
Chris Torek
chris at trantor.umd.edu
Wed Feb 10 01:38:36 AEST 1988
In article <11726 at brl-adm.ARPA> speicher at mitre.arpa writes:
>The manual for the [Ultrix x.y] ftp daemon (ftpd) says that ftpd can
>be invoked with a -l" option to log transactions to the standard output.
>ftp stream tcp nowait /etc/ftpd ftpd -l > logfile
>
>won't work because the ">" gets passed directly to ftpd.
>
>Any suggestions?
Try
ftp stream tcp nowait /etc/ftpd.logging ftpd
with /etc/ftpd.logging being an executable shell script:
#! /bin/sh
exec /etc/ftpd -l >> /somewhere/logfile
In-Real-Life: Chris Torek, Univ of MD Computer Science, +1 301 454 7163
(hiding out on trantor.umd.edu until mimsy is reassembled in its new home)
Domain: chris at mimsy.umd.edu Path: not easily reachable
More information about the Comp.unix.wizards
mailing list