HP-UX Reference (11i v2 03/08) - 4 File Formats (vol 8)
f
ftpaccess(4) ftpaccess(4)
log transfers typelist directions
Enables logging of file transfers for either real or anonymous FTP users. Logging of transfers TO
the server (incoming) can be enabled separately from transfers FROM the server (outbound). typel-
ist is a comma-separated list of any of the keywords
anonymous
, guest and real. If the real
keyword is included, logging will be done for users using FTP to access real accounts. If the
anonymous keyword is included, logging will be done for users using anonymous FTP. The
guest
keyword matches guest access accounts (see guestgroup in the Access Capabilities subsection
above for more information). directions is a comma-separated list of any of the two keywords
inbound and outbound, and will respectively cause transfers to be logged for files sent to the
server and sent from the server. All the logging is done into the file
/var/adm/syslog/xferlog
.
log security typelist
Enables logging of violations of security rules (noretrieve, .notar, ...) for real, guest and/or
anonymous users. typelist is a comma-separated list of any of the keywords
anonymous, guest,
and
real. If the real keyword is included, logging will be done for users using FTP to access real
accounts. If the anonymous keyword is included, logging will done for users using anonymous FTP.
The guest keyword matches guest access accounts (see
guestgroup for more information).
log syslog
log syslog+xferlog
Redirects the logging messages for incoming and outgoing transfers to either syslog,orxferlog,
or both. By default (if log is not specified), the transfer log messages are put into
xferlog. log
syslog will put the log messages into only syslog. log syslog+xferlog
will put the log
messages into both
syslog and xferlog.
Upload/Download Ratios
ul-dl-rate rate [ class ... ]
Specify an Upload/Download ratio (1:rate ). For each byte that an ftp user uploads, rate bytes can be
downloaded. By default, there is no ratio.
dl-free filename [ class ... ]
The file filename can be downloaded freely ignoring the ratio. See
ul-dl-rate above.
dl-free-dir dirname [ class ... ]
All files in the directory dirname and its subdirectories can be downloaded freely ignoring the ratio.
See
ul-dl-rate above.
Note that both
dl-free and dl-free-dir are relative to the system’s root environment, not the
chroot environment.
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
Section 4−−64 Hewlett-Packard Company − 6 − HP-UX 11i Version 2: August 2003