WU-FTPD 2.6.1 Release Notes (5900-2465, September 2012)

Example 8 The anonymous-root Clause
The following are examples of the anonymous-root clause:
anonymous-root /home/ftp
anonymous-root /home/localftp localnet
The first example changes the root directory of all the anonymous users to the directory
/home/ftp, the anonymous user’s current working directory being the home directory. If an
FTP user exists in the /home/ftp/etc/passwd file, the user’s current working directory is
the home directory. In the second example, the root directory of all the anonymous users in
the class localnet is changed to the directory/home/localftp, and the FTP user’s home
directory in /home/localftp/etc/passwd specifies the initial current working directory.
Example 9 The guest-root Clause
An example of the guest-root clause is as follows:
guest-root /home/users guest-root /home/staff %100-999 sally
The example changes the root directory of all the guest users to the /home/users directory.
The directory of users in the range 100 through 999 and user sally is changed to the
/home/staff directory, and the current working directory is obtained from their entries in
the /home/staff/etc/passwd file.
Server Listening Clause
This clause enables the server to listen on any address. If you do not set this value, the server
listens for connections on all the IP addresses. HP recommends not to use this clause because
it breaks virtual hosting.
NOTE: This option works only when ftpd is running in a standalone mode. For more
information, see ftpd(1M).
The syntax for enabling the server to listen is as follows:
daemonaddress <address>
For detailed information on all the clauses in the /etc/ftpd/ftpaccess utility, type man
4 ftpaccess at the HP-UX prompt.
Enabling the Identification Protocol (RFC 1413)
The Identification Protocol, /usr/bin/ident, enables you to determine the identity of a user of
a particular TCP connection. For a particular TCP port number pair, identd returns a character
string that identifies the owner of that connection on the system of the server. You can use the -I
daemon option to enable RFC 1413-based authentication. By default, this authentication is disabled.
New feature related to data transfer
The following lists the data transfer features:
For statistical purposes, you can track the total bytes of data transferred. Also, you can limit
the number of data bytes that a user, in any given class, can transfer. You can specify a
directive in the /etc/ftpd/ftpaccess file to limit the number of bytes incoming, outgoing,
or both.
The syntax for the directive is as follows:
data-limit [raw] in out total count [class]
WU-FTPD 2.6.1 features 27