Installing and Administering Internet Services
44 Chapter2
Installing and Configuring Internet Services
Configuring Logging for the Internet Services
To Configure ftpd Session Logging
To configure ftpd to log messages about an ftp session, including
commands, logins, login failures, and anonymous ftp activity, follow
these 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. Included
in this man page is a complete list of error messages.
For more information on logging ftp file transfer information, see
“Configuring Logging for ftp” on page 51.