WU-FTPD 2.6.1 Release Notes (September 2008)

Example 1-8 The anonymous-root Clause
The following are examples for the anonymous-root clause:
anonymous-root /home/ftp
anonymous-root /home/localftp localnet
Example 1-8 contains two examples for the anonymous-root clause. The first
example changes the root directory of all the anonymous users to the directory
/home/ftp, the anonymous users current working directory being the home
directory. If an FTP user exists in the /home/ftp/etc/passwd file, the users
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 users home directory in
/home/localftp/etc/passwd specifies the initial current working directory.
Example 1-9 The guest-root Clause
An example for 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, type man 1M ftpd at the HP-UX prompt.
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, provides a means to determine the
identity of a user of a particular TCP connection. Given a TCP port number pair, identd
returns a character string that identifies the owner of that connection on the system of
24 WU-FTPD 2.6.1 Release Notes