HP-UX Reference (11i v2 04/09) - 4 File Formats (vol 8)
f
ftpaccess(4) ftpaccess(4)
file-limit [ raw ]{in|out|total } count [ class ]
Limit the number (count ) of data files that a user in the given class may transfer. The limit may be
placed on files
in, out
or total.Ifclass is not specified, the limit is the default for those classes
which do not have a limit specified. The optional raw parameter applies the limit to the total traffic
rather than just data files.
data-limit [ raw ]{in|out|total } count [ class ]
Limit the number of data bytes a user in the given class may transfer. The limit may be place on
bytes
in, out or total.Ifnoclass is specified, the limit is the default for classes which do not
have a limit specified. The optional raw parameter applies the limit to total traffic rather than just
data files.
limit-time { *|anonymous|guest
} minutes
Limit the total time a session can take. By default, there is no limit. Real users are never limited.
guestserver [ hostname ] ...
Controls which hosts may be used for anonymous or guest access. If used without hostname, all
guest or anonymous access to this site is denied. More than one hostname may be specified. Guest
and anonymous access will only be allowed on the named machines. If access is denied, the user
will be asked to use the first hostname listed.
limit class n times message_file
Limit class to n users at specified times , displaying message_file if user is denied access. The limit
check is performed at login time only. If multiple
limit commands apply to the current session,
the first applicable one is used. Failing to define a valid limit, or a limit of
-1, is equivalent to
unlimited. The format for times can be any of the following:
Any Any week day
Fr Friday
Any0900-1300 Any day of week between 9.00 - 13.00 hrs.
Th|Any0900-1300 Either Thursday or between 9.00 - 13.00.
noretrieve [ absolute|relative
][ class= classname ] ...
[
-] filename [ filename ] ...
Always deny retrievability of these files. If the files are an absolute path specification (i.e. begins
with
/ character), then only those files are marked unretrievable. Otherwise all files with the
matching filename are refused transfer. Example:
noretrieve /etc/passwd core
specifies that no one is able to get the file /etc/passwd, whereas they are allowed to transfer a
file, passwd, if it is not in /etc. On the other hand, no one is able to get a file named
core wher-
ever it is.
Directory specifications mark all files and sub-directories in the named directory as "un-gettable" or
not obtainable. The filename may be specified as a file glob. For example:
noretrieve /etc /home/*/.htaccess
specifies that no files in /etc or any of its sub-directories may be retrieved. Also, no files named
.htaccess anywhere under the /home directory may be retrieved.
The optional first parameter selects whether names are interpreted as absolute or relative to the
current
chroot’d environment. The default is to interpret names beginning with a slash as abso-
lute.
The
noretrieve restrictions may be placed upon members of particular classes. If any class=
is specified, then this option is set only for the users of that particular class.
allow-retrieve [ absolute|relative ][ class= classname ] ...
[-] filename [ filename ] ...
Allows retrieval of files which would otherwise be denied by noretrieve.
loginfails number
After number login failures, log a message and terminate the FTP connection. Default value is 5.
HP-UX 11i Version 2: September 2004 − 3 − Hewlett-Packard Company Section 4−−61