ftpaccess.4 (2010 09)

f
ftpaccess(4) ftpaccess(4)
hostname some.host.name
Defines the default host name of the ftp server. This string will be printed on the greeting message
and every time the
%L magic cookie is used. See
message below for a list of magic cookies. The
host name for virtual servers overrides this value. If not specified, the default host name for the
local machine is used.
email name
Defines the email address of the ftp archive maintainer. This string will be printed every time the
%E magic cookie is used. See message below for a list of magic cookies.
message path [ when [ class ... ]]
Define a file with path such that
ftpd will display the contents of the file to the user at login time
or upon using the change working directory command. The when parameter may be
LOGIN or
CWD=dir. If when is CWD=dir, dir specifies the new default directory which will trigger the
notification.
The optional class specification allows the message to be displayed only to members of a particular
class. More than one class may be specified.
In the message file, the user can key in a message and use the "macros" or "magic cookies" that are
available. The ftp server will replace the cookie with a specified text string. The following magic
cookies are available:
%T local time (form Thu Nov 15 17:12:42 1990)
%C current working directory
%E the maintainers email address as defined in
ftpaccess
%R remote host name
%L local host name
%u username as determined via RFC931 authentication
%U username given at login time
%M maximum allowed number of users in this class
%N current number of users in this class
%B absolute limit on disk blocks allocated
%b preferred limit on disk blocks
%Q current block count
%I maximum number of allocated inodes (+1)
%i preferred inode limit
%q current number of allocated inodes
%H time limit for excessive disk use
%h time limit for excessive files ratios:
%xu Uploaded bytes
%xd Downloaded bytes
%xR Upload/Download ratio (1:n)
%xc Credit bytes
%xT Time limit (minutes)
%xE Elapsed time since login (minutes)
%xL Time left
%xU Upload limit
%xD Download limit
The message will only be displayed once to avoid annoying the user. Remember that when mes-
sages are triggered by an anonymous FTP user, the path must be relative to the base of the
HP-UX 11i Version 3: September 2010 5 Hewlett-Packard Company 5