ftpaccess.4 (2010 09)
f
ftpaccess(4) ftpaccess(4)
The external program ftpshut can be used to automate the process of generating this file.
daemonaddress
address
If this value is not set, then the server will listen for connections on every IP addresses. Otherwise
it will only listen on the IP address specified. Use of this clause is discouraged as it will break vir-
tual hosting. This option will work only when
ftpd is running in the standalone mode (see
ftpd (1M)).
logfile path
Specifies the transfer logfile (
xferlog) for the default server. Virtual hosts can override this with
the "
virtual address logfile path" option. If omitted, the default logfile is used.
root path
Normally used in a virtual host
ftpaccess
file, the root directive is used to specify the path to the
root of the
ftp directory for this server.
virtual address { root|banner|
logfile } path
Enables the virtual ftp server capabilities. The address is the IP address of the virtual server. The
second argument specifies that the path is one of the following:
root The root of the filesystem for this virtual server.
banner The banner presented to the user when connecting to this virtual server.
logfile The logfile where transfers are recorded for this virtual server. If logfile is not
specified, the default logfile will be used.
All other message files and permissions as well as any other settings in this file apply to all virtual
servers.
The address may also be specified as the hostname rather than the IP number. This is strongly
discouraged because if DNS is not available at the time the FTP session begins, the hostname will
not be matched.
The above options must be used in the
/etc/ftpd/ftpaccess
file only and not in the virtual
domain
ftpaccess file.
virtual address { hostname |email } string
Sets string to either the hostname shown in the greeting message and
STAT command, or to the
email address used in message files and on the HELP command.
The above options must be used in the
/etc/ftpd/ftpaccess
file only and not in the virtual
domain
ftpaccess file.
virtual address allow username [ username ... ]
virtual address deny username [ username ... ]
Normally, real and guest users are not allowed to log in on the virtual server unless they are guests
and
chroot’d to the virtual root. The users listed on the virtual allow line(s) will be granted
access. All users can be granted access by giving * as the username. The virtual deny clauses
are processed after the virtual allow clauses and are used to deny access to specific users when
all users were allowed.
The above options can be used in both the
/etc/ftpd/ftpaccess file and in the virtual domain
ftpaccess file.
virtual address private
Normally, anonymous users are allowed to log in on the virtual server. This option denies them
access.
The above option must be used in the
/etc/ftpd/ftpaccess file only and not in the virtual
domain ftpaccess file.
virtual address passwd file
Use a different passwd file for the virtual domain.
Note: This option is currently not supported in HP-UX.
8 Hewlett-Packard Company − 8 − HP-UX 11i Version 3: September 2010