HP-UX Reference (11i v1 05/09) - 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.
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 either the path to the root of the filesystem for this virtual
server, the banner presented to the user when connecting to this virtual server, or the logfile where
transfers are recorded for this virtual server. If the 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 vir-
tual servers.
Section 4−−64 Hewlett-Packard Company − 4 − HP-UX 11i Version 1: September 2005