Installing and Administering Internet Services

46 Chapter 2
Installing and Configuring Internet Services
Configuring Logging for the Internet Services
If inetd is running with connection logging turned on, the same
command turns it off. For more information, type man 1M inetd.
To Configure ftpd Logging
To configure ftpd to log messages about logins, login failures, and
anonymous ftp activity, follow these steps:
1. Add the -l or -v (verbose) 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
The -v option provides more detailed logging than the -l option,
except for anonymous ftp. For anonymous ftp, the -l and -v
options provide the same level of logging.
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.