Path: utzoo!mnetor!uunet!husc6!mit-eddie!ll-xn!ames!umd5!trantor.umd.edu!chris From: chris@trantor.umd.edu (Chris Torek) Newsgroups: comp.unix.wizards Subject: Re: FTP logging Message-ID: <2268@umd5.umd.edu> Date: 9 Feb 88 15:38:36 GMT References: <11726@brl-adm.ARPA> Sender: ris@umd5.umd.edu Reply-To: chris@trantor.umd.edu (Chris Torek) Organization: University of Maryland, College Park Lines: 21 In article <11726@brl-adm.ARPA> speicher@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@mimsy.umd.edu Path: not easily reachable