HP-UX Remote Access Services Administrator's Guide

ftp auth required /usr/lib/security/libpam_dce.1
ftp account required /usr/lib/security/libpam_dce.1
For more information, see the manual Managing Systems and Workgroups: A Guide
for HP-UX System Administrators, available at
http://docs.hp.com/hpux/onlinedocs/B2355-90742/B2355-90742.html
and the manpages pam (3) and pam.conf (4).
Configuring Logging for FTP
You can log both the FTP session information and the file transfer information, as
explained in the following sections.
Enabling File Transfer Logging
You can enable file transfer logging either by editing the /etc/ftpd/ftpaccess file
or by editing the /etc/inetd.conf file. These methods are explained in the following
sections.
Configuring Logging in the /etc/ftpd/ftpaccess File
You can log the incoming and outgoing FTP file transfer information by using the log
transfers keyword in the /etc/ftpd/ftpaccess file. The log transfers
keyword enables or disables logging of file transfers for real or anonymous FTP users
to the /var/adm/syslog/xferlog file. You can separately enable logging of transfers
to the server (incoming) and logging of transfers from the server (outgoing).
For details on the log transfers keyword, type man 4 ftpaccess at the HP-UX
prompt.
Configuring Logging in the /etc/inetd.conf File
To log incoming and outgoing FTP file transfers, insert the-i and -o options with the
ftp entry in the /etc/inetd.conf file. The -iand -o options are explained as follows:
-i This option logs all the incoming files received by the ftp server to
the/var/adm/syslog/xferlog log file. The log transfers entry in the
/etc/ftpd/ftpaccess file overrides the -i option.
-o This option logs all outgoing files transmitted by ftpd to the
/var/adm/syslog/xferlog file. The log transfers entry in the
/etc/ftpd/ftpaccess file overrides the -o option.
Example of Logging Configuration in the /etc/inetd.conf File
In the following example, the /etc/inetd.conf entry logs both incoming and
outgoing FTP file transfers:
42 Configuring FTP