HP-UX Reference (11i v3 07/02) - 4 File Formats (vol 8)
f
ftpaccess(4) ftpaccess(4)
The optional class specification allows the message to be displayed only to members of a particular
class. More than one class may be specified.
Logging Capabilities
log commands typelist
Enables logging of individual commands by users. typelist is a comma-separated list of any of the key-
words
anonymous, guest and real. If the
real keyword is included, logging will be done for
users using FTP to access real accounts, and if the
anonymous keyword is included logging will done
for users using anonymous FTP. The
guest keyword matches guest access accounts (see guest-
group
in the Access Capabilities subsection above for more information). The individual commands
are logged in the /var/adm/syslog/syslog.log
file.
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). 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 key-
word 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 infor-
mation). 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.
HP-UX 11i Version 3: February 2007 − 6 − Hewlett-Packard Company 115