ftpaccess.4 (2010 09)
f
ftpaccess(4) ftpaccess(4)
command is used to provide directory listings. To change the path for
ls, specify it in command.
The defaults for these clauses are generally correct. For normal users
lsshort is used. For
anonymous users
lslong is used. lsplain is used for special cases. Use
lslong, lsshort,or
lsplain only if absolutely necessary.
mailserver hostname [ hostname ... ]
Specify the name of a mail server which will accept upload notifications for the FTP daemon. Multi-
ple mail servers may be listed; the daemon will attempt to deliver the upload notification to each, in
order, until one accepts the message. If no mail servers are specified, localhost is used. This option
is only meaningful if anyone is to be notified of anonymous uploads (see
incmail below).
incmail emailaddress
virtual address incmail emailaddress
defaultserver incmail
emailaddress
Specify email addresses to be notified of anonymous uploads. Multiple addresses can be specified;
each will receive a notification. If none are specified, no notifications are sent.
If addresses are specified for a
virtual host, only those addresses will receive notification up
anonymous uploads on that host. Otherwise, notifications will be sent to the global addresses.
The above
virtual option must be used in the
/etc/ftpd/ftpaccess
file only and not in the
virtual domain
ftpaccess file.
The
defaultserver addresses only apply to real hosts and not virtual hosts. In this way, the
real host can receive notifications of uploads on their default anonymous area. However, with this
option set, the virtual hosts will not be notified.
mailfrom emailaddress
virtual address mailfrom emailaddress
defaultserver mailfrom
emailaddress
Specify the sender’s email address for anonymous upload notifications. Only one address may be
specified. If no
mailfrom applies, email is sent from the default mailbox name wu-ftpd
.To
avoid problems if the recipient attempts to reply to a notification, or if downstream mail problems
generate bounces, you should ensure the
mailfrom emailaddress is deliverable.
The above
virtual option must be used in the /etc/ftpd/ftpaccess
file only and not in the
virtual domain
ftpaccess file.
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, real and class=.
When
class= appears, it must be followed by a classname. If any class= appears, the typelist
restriction applies only to users in that class.
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.
deny-email case-insensitive-email-address
The e-mail address given as an argument is considered to be invalid. If
passwd-check is set to
enforce, anonymous users giving this address as password cannot log in. This is one way that you
can stop users from having web browsers that use fake addresses like IE?0User@ or mozilla@. By
using deny-email, you are not shutting out users using a web browser for ftp. You just making
them configure their browser correctly. Only one address per line, but you can have as many
10 Hewlett-Packard Company − 10 − HP-UX 11i Version 3: September 2010