HP-UX Reference (11i v2 03/08) - 4 File Formats (vol 8)
f
ftpaccess(4) ftpaccess(4)
/etc/ftpd/ftpaccess
file.
If the user were to give the command:
cd foo
The directory will be searched for in the following order:
./foo an alias called foo
/pub/packages/foo
/.aliases/foo
The cd path is only available with the
cd command. If you have a large number of aliases, you
might want to set up an aliases directory with links to all of the areas that you wish to make avail-
able to users.
compress { yes|no } classglob [ classglob ... ]
tar { yes|no } classglob [ classglob ... ]
Enables
compress or tar capabilities for any class matching any of classglob . The actual conver-
sions are defined in the external file
/etc/ftpd/ftpconversions
.
shutdown path
If the file pointed to by path exists, the server will check the file regularly to see if the server is
going to be shut down. If a shutdown is planned, the user is notified, new connections are denied
after a specified time before shutdown and current connections are dropped at a specified time
before shutdown. path points to a file structured as follows:
year month day hour minute deny_offset disc_offset
text
year any year > 1970
month
0-11 <-- Note: month index begins from 0
hour 0-23
minute 0-59
deny_offset and disc_offset are the offsets in HHMM format before the shutdown time that new con-
nections will be denied and existing connections will be disconnected.
text follows the normal rules for any message (see
message in the Informational Capabilities sub-
section), with the following additional magic cookies available:
%s time system is going to shut down
%r time new connections will be denied
%d time current connections will be dropped
All times are in the form: ddd MMM DD hh:mm:ss YYYY . There can be only one
shutdown com-
mand in the configuration file.
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 virtual
hosting. This option will work only when
ftpd is running in the standalone mode (see ftpd (1M)).
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
HP-UX 11i Version 2: August 2003 − 7 − Hewlett-Packard Company Section 4−−65