Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!nrl-cmf!cmcl2!brl-adm!adm!speicher@mitre.arpa From: speicher@mitre.arpa Newsgroups: comp.unix.wizards Subject: FTP logging Message-ID: <11726@brl-adm.ARPA> Date: 9 Feb 88 02:57:00 GMT Sender: news@brl-adm.ARPA Lines: 24 I manage a VAX 11/785 running Ultrix 1.2. The inet daemon on this system looks at the file "/etc/inetd.conf" to determine what internet daemons run (telnet, ftp, etc) and what pathnames to use when calling them. Here's what the entry for ftpd looks like: ftp stream tcp nowait /etc/ftpd ftpd The manual entry for the config file says that you can append options to the last item in the list. I assume that the last occurrence of "ftpd" in this list is argv[0] when the program is called by inetd. The manual for the ftp daemon (ftpd) says that ftpd can be invoked with a "-l" option to log transactions to the standard output. Hence, they recommend: /etc/ftpd -l > logfile to log transactions. Here is my problem. Changing the line to read: ftp stream tcp nowait /etc/ftpd ftpd -l > logfile won't work because the ">" gets passed directly to ftpd. Any suggestions? Clay Speicher - speicher@mitre.arpa