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)
Permission Capabilities
chmod yes|no typelist
delete yes|no typelist
overwrite yes|no typelist
rename yes|no typelist
umask yes|no typelist
Allows or disallows the ability to perform the specified function. By default, all users are allowed.
typelist is a comma-separated list of any of the keywords anonymous, guest and real.
passwd-check none | trivial | rfc822 [ enforce | warn ]
Define the level and enforcement of password checking done by the server for anonymous ftp.
none no password checking performed.
trivial password must contain an @.
rfc822 password must be an rfc822 compliant address.
warn warn the user, but allow them to log in.
enforce warn the user, and then log them out.
path-filter typelist mesg allowed_charset [ disallowed_regexp ... ]
For users in typelist,
path-filter defines regular expressions that control what a filename can or
cannot be. Disallowed regular expressions, disallowed_regexp, may be specified with multiple regular
expressions (see regexp(5)). If a filename is invalid due to failure to match the regular expression cri-
teria, mesg will be displayed to the user. For example:
path-filter anonymous /etc/pathmsg ˆ[-A-Za-z0-9_\.]*$ ˆ\. ˆ-
specifies that all upload filenames for anonymous users must be made of only the characters
A-Z, a-
z
, 0-9, period (.), dash (-), and underscore (_); and may not begin with a period (
.) or a dash (-).
If the filename is invalid,
/etc/pathmsg will be displayed to the user.
upload root-dir dirglob yes|no owner group mode dirs|nodirs
Define a directory with dirglob that permits or denies uploads.
If it does permit uploads, all files will be owned by owner and group and will have the permissions set
according to mode.
Directories are matched on a best-match basis.
For example:
upload /var/ftp * no
upload /var/ftp /incoming yes ftp daemon 0666
upload /var/ftp /incoming/gifs yes jlc guest 0600 nodirs
This would only allow uploads into /incoming and /incoming/gifs. Files that were uploaded
to /incoming would be owned by ftp/daemon and would have permissions of 0666. File
uploaded to /incoming/gifs would be owned by jlc/guest and have permissions of 0600.
Note that the root-dir here must match the home directory specified in the password database for the
ftp user.
The optional dirs and nodirs keywords can be specified to allow or disallow the creation of new
subdirectories using the mkdir
command.
The
upload keyword only applies to users who have a home directory (the argument to the
chroot())ofroot-dir.
FILES
/etc/ftpd/ftpaccess
/usr/newconfig/etc/ftpd/examples/ftpaccess
sample ftpaccess file
AUTHOR
ftpaccess was developed by the Washington University, St. Louis, Missouri.
Section 4−−66 − 5 − HP-UX Release 11i: December 2000
___
___