HP-UX Reference (11i v1 00/12) - 4 File Formats (vol 8)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man4/!!!intro.4
________________________________________________________________
___ ___
f
ftpaccess(4) ftpaccess(4)
%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
The message will only be displayed once to avoid annoying the user. Remember that when messages
are triggered by an anonymous FTP user, the path must be relative to the base of the anonymous FTP
directory tree.
readme path [ when [ class ]]
Define a file with path such that ftpd will notify user at login time or upon using the change working
directory command that the file exists and was modified on such-and-such date. The when parameter
may be LOGIN or CWD=<dir> .Ifwhen CWD=<dir>, dir specifies the new default directory which
will trigger the notification. The message will only be displayed once, to avoid bothering users.
Remember that when README messages are triggered by an anonymous FTP user, the path must be
relative to the base of the anonymous FTP directory tree.
The optional class specification allows the message to be displayed only to members of a particular
class. More than one class may be specified.
sendfiletransfer yes|
no
If this option is set, sendfile() will be used for file transfer. If set to no
, send() will be used.
sendfile() will be the default mode of transfer if this option is not used.
suppresshostname yes|
no
If this option is set, the name of the FTP server will be suppressed in the banner output and in the
output of the STAT command.
suppressversion yes|no
If this option is set, the version of FTP server will be suppressed in the banner output and in the out-
put of the STAT command. This option requires that the suppresshostname
option be set.
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).
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, and 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
.
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.
Section 4−−64 − 3 − HP-UX Release 11i: December 2000
___
___