ftpd.1m (2010 09)

f
ftpd(1M) ftpd(1M)
-o Logs all files transmitted by
ftpd to xferlog (see xferlog (5)). It logs outgoing
files from the
ftpd server. This option is overridden by the
/etc/ftpd/ftpaccess
file (see ftpaccess (4)).
-p The default action of ftpd does not allow usage of reserved ports as the originating
port on the client’s system i.e., the PORT command cannot specify a reserved port.
This option allows the client to specify a reserved port.
Note: Allowing usage of reserved ports can result in the misuse of
ftpd. The
security ramifications should be understood before the
-p option is turned on.
-P Enables third party transfer.
-q | -Q Determines whether the daemon uses the PID files. These files are required by the
limit directive to determine the number of current users in each access class. Disa-
bling the use of the PID files disables user limits. The default (
-q) specifies to use
the PID files. Specify
-Q to disable using the PID files. The
-Q option can be used
when testing the server as a normal user when access permissions prevent the use
of the PID files. Large, busy sites which do not wish to impose limits on the number
of concurrent users may also consider disabling the PID files.
-r rootdir Instructs the daemon to chroot (see chroot (2)) to the specified rootdir immediately
upon loading. This can improve system security by limiting the files which may be
damaged should a break-in occur through the daemon. This option is like
anonymous FTP. For this option to work properly additional files may be needed
under the specified rootdir , which can vary from system to system.
-s | -S Runs the daemon in standalone operation mode. The -S option runs the daemon in
the background and is useful in startup scripts during system initialization (i.e., in
rc.local). The -s option leaves the daemon in foreground and is useful when
running from init (see init (1M)).
-t timeout Causes ftpd to timeout inactive sessions after timeout seconds. By default, ftpd
terminates an inactive session after 15 minutes.
-T maxtimeout
A client can also request a different timeout period. The -T option sets to max-
timeout the maximum timeout that client can request, in seconds. By default, the
maximum timeout is 2 hours.
-u umask Change default ftpd umask from 027 to umask .
-U Disables the use of sendfile() and uses send() for sending data. Use this
option if the link cannot handle more than one buffer per packet (e.g. Gigabit Ether-
net).
-v The debugging information is written to the syslog file.
-V Causes the program to display copyright and version information, then terminate.
-w | -W Determines whether the user logins are to be recorded in the wtmps and btmps
files. If the -W option is specified, user logins are not recorded in the wtmps or
btmps file. The default (-w) is used to record every login, logout, and bad login
attempts.
-X Specifies that the output created by the -i and -o options is not saved to the xfer-
log file but saved via syslog so that the output can be collected from several hosts
on one central loghost.
-z flag Specifies the TLS-supported configuration information by setting the TLS flags.
More than one -z flag can be specified on the command line. The values for flag
are as follows:
allow_auth_ssl
Configures ftpd to allow the deprecated AUTH SSL command to trigger TLS
negotiation. This option is provided only for backward compatibility in ftpd
with old FTP clients that continue to use AUTH SSL for TLS negotiation. By
default, this flag is not set.
bad_auth_ssl_reply
Configures ftpd to reply with an incorrect 334 reply code in response to an
2 Hewlett-Packard Company 2 HP-UX 11i Version 3: September 2010