gilbertd@cricket.bio.indiana.edu (Don Gilbert) (06/11/91)
Can I get ftpd to log usage? I've put an anonymous ftp archive on my a/ux mac temporarily, and would like to keep track of amount of usage (and computer names of users if possible). According to manual page for ftpd, there is a flag to cause it to log usage (-l). But ftpd is called by inetd, as indicated by the field in the file /etc/servers. The man page for inetd says nothing about how to feed command-line flags to the deamons that it runs. I tried putting commands on that line, but no luck. ftpd(1M) ftpd(1M) NAME ftpd - Internet File Transfer Protocol server SYNOPSIS /usr/etc/in.ftpd [-d] [-l] [-ttimeout] This is where inetd looks for deamon to associate with ftp port: cricket % cat /etc/servers ftp tcp /usr/etc/in.ftpd telnet tcp /usr/etc/in.telnetd ... This does not work (or should it?): cricket % cat /etc/servers ftp tcp /usr/etc/in.ftpd -l >> /tmp/ftp.log ... -- Don Gilbert gilbert@bio.indiana.edu biocomputing office, biology dept., indiana univ., bloomington, in 47405