HP-UX Reference (11i v3 07/02) - 4 File Formats (vol 8)
f
ftpaccess(4) ftpaccess(4)
cdpath dir
Defines a directory entry in the
cdpath. dir defines a search path that is used when changing direc-
tories.
For example:
cdpath /pub/packages
cdpath /.aliases
would allow the user to cd into any directory directly under
/pub/packages
or /.aliases
directories. The search path is defined by the order in which the lines appear in the
/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 available 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 shut-
down. 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 subsec-
tion), 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)).
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.
116 Hewlett-Packard Company − 7 − HP-UX 11i Version 3: February 2007