ftpaccess.4 (2010 09)

f
ftpaccess(4) ftpaccess(4)
Miscellaneous Capabilities
alias string dir
Defines an alias, string , for the specified directory, dir . Can be used to add the concept of logical
directories.
For example:
alias rfc /pub/doc/rfc
would allow the user to access /pub/doc/rfc from any directory by the command
cd rfc:.
Aliases only apply to the
cd command.
cdpath dir
Defines a directory entry in the
cdpath. dir defines a search path that is used when changing
directories.
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 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.
HP-UX 11i Version 3: September 2010 7 Hewlett-Packard Company 7