HP-UX Internet Services Administrator's Guide (February 2007)

Configuring inetd Connection Logging
The inetd daemon logs connection requests through syslogd. It logs successful
connections at the information level and unsuccessful connection attempts at the
notice level. By default, inetd starts up with connection logging turned off.
If inetd is running with connection logging turned off, issue the following command
to invoke it:
/usr/sbin/inetd -l
If inetd is running with connection logging turned on, the same command turns it
off. For more information, type man 1M inetd at the HP-UX prompt.
Configuring ftpd Session Logging
To configure ftpd to log messages about an ftp session, including commands, logins,
login failures, and anonymous ftp activity, complete the following steps:
1. Add the -l option to the ftp line in the /etc/inetd.conf file, as in the following
example:
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l
2. Issue the following command to force inetd to read its configuration file:
/usr/sbin/inetd -c
For more information, type man 1M ftpd at the HP-UX prompt. This manpage contains
a complete list of error messages.
See “Configuring Logging for ftp” in the HP-UX Remote Access Services Administrator’s
Guide at the URL
http://www.docs.hp.com/hpux/netcom/index.html#Internet%20Services
for more information on logging ftp file transfer information.
Configuring the Internet Services Software 35