HP-UX Remote Access Services Administrator's Guide

A default limit is specified to all the classes for which you have not specified a
limit. When the FTP session logs off, this directive prints the number of files and
the number of bytes transferred.
You can limit the number of data files a user in the given class can transfer in a
session. You can specify a directive in the /etc/ftpd/ftpaccess file to limit
the number of incoming files, outgoing files, or both.
The syntax for the directive is as follows:
file-limit [raw] in out total count [class]
If you do not specify a class, a default limit is specified to all the classes for which
a limit is not specified.
For more information, type man 4 ftpaccess at the HP-UX prompt.
The ftp Support Commands
The following support commands are available in ftp:
ftpcount
This command displays the current number of users for each class
and the limit for each class, as defined in the /etc/ftpd/ftpaccess
file. If the /etc/ftpd/ftpaccess file does not exist, the
/usr/bin/ftpcountcommand does not display any output.
However, if the ftpaccess file exists and is 0 bytes, then an error
message is displayed.
For more information, type man 1 ftpcount at the HP-UX prompt.
ftpwho
This command displays the current process information for each user
logged in to the FTP server. If the /etc/ftpd/ftpaccess file does
not exist, the /usr/bin/ftpwho command does not display any
output. However, if the /etc/ftpd/ftpaccess file exists and is 0
bytes, then an error message is displayed.
For more information, type man 1 ftpwho at the HP-UX prompt.
ckconfig
This command verifies the pathnames of all the FTP configuration
files. If the /usr/bin/ckconfig utility is unable to find the
configuration files in their respective paths, it displays an error
message.
For more information, type man 1 ckconfig at the HP-UX prompt.
ftpshut
This command allows superusers to create a shutdown message file
that warns users before ftpd shuts down. An FTP daemon checks
the /usr/bin/ftpshut file at regular intervals to determine the
shutdown time.
To use the ftpshut command, perform the following steps:
44 Configuring FTP