NAME
ftpd - DARPA Internet File Transfer Protocol serverSYNOPSIS
ftpd [-A | -a] [-C] [-c] [-d] [-E] [-l] [-v] [-T maxtimeout] [-t timeout] [-p port] [-U ftpusers-file] [-u umask] [-r realm-file] [-s srvtab] [-w{ip|maxhostlen[,{striplocal| nostriplocal}]}]DESCRIPTION
Ftpd is the DARPA Internet File Transfer Protocol server process. The server uses the TCP protocol and listens at the port specified in the ``ftp'' service specification; see services(5).Available options:
-A
Connections are only allowed for users who can authenticate via
the ftp AUTH mechanism. (Anonymous ftp may also be allowed if it is
configured.) Ftpd will ask the user for a password if one is
required.
-a
Connections are only allowed for users who can authenticate
(via the ftp AUTH mechanism) and who are authorized to connect to
the named account without a password. (Anonymous ftp may also be
allowed if it is configured.)
-C
Non-anonymous users need local credentials (for example, to
authenticate to remote fileservers), and so they should be prompted
for a password unless they forwarded credentials as part of
authentication.
-c
Allow the CCC (Clear Command Channel) command to be used. This
allows less secure connections, and should probably only be used
when debugging.
-d
Debugging information is written to the syslog. (Identical to
-v)
-E
Don't allow passwords to be typed across unencrypted
connections.
-l
Each ftp(1)
session is logged in the syslog. If this flag appears twice,
additional information about operations performed (such as files
retrieved, directories created, etc.) will be logged via syslog. If
it appears three times, some other statistics such as the number of
bytes transferred will be logged via syslog as well.
-v
Debugging information is written to the syslog. (Identical to
-d)
-T maxtimeout
A client may request a maximum timeout period allowed set to
timeout seconds with the -T option. The default limit
is 2 hours. This is different from the normal inactivity timeout
specified by the -t option (see below).
-t timeout
The inactivity timeout period is set to timeout seconds
(the default is 15 minutes).
-p port
Run as a server and accept a connection on port.
Normally the ftp server is invoked by inetd(8).
-U ftpusers-file
Sets the full path and name of the ftpusers file to use.
The default value is normally /etc/ftpusers.
-u umask
Sets the umask for the ftpd process. The default value is
normally 027.
-r realm-file
Sets the name of the krb.conf file to use. The default
value is normally set by /etc/krb5.conf.
-s srvtab
Sets the name of the srvtab file to use for Kerberos V4
authentication. The default value is normally /etc/srvtab.
-w
{ip|maxhostlen[,{striplocal|nostriplocal}]}
Controls the form of the remote hostname passed to login(1).
Specifying ip results in the numeric IP address always being
passed to login(1).
Specifying a number, maxhostlen, sets the maximum length of
the hostname passed to login(1) before
it will be passed as a numeric IP address. If maxhostlen is
0, then the system default, as determined by the utmp or utmpx
structures, is used. The nostriplocal and striplocal
options, which must be preceded by a comma, control whether or not
the local host domain is stripped from the remote hostname. By
default, the equivalent of striplocal is in effect.
The ftp server currently supports the following ftp requests; case is not distinguished.

