• NAME
  • SYNOPSIS
  • DESCRIPTION
      is the Internet File Transfer Protocol server process.  The server uses the protocol and listens at the port specified in the service specification; see Available options: Select the level of authentication required.  Kerberised login can not be turned off. The default is to only allow kerberised login.  Other possibilities can be turned on by giving a string of comma separated flags as argument to Recognised flags are: Allow logging in with plaintext password. The password can be a(n) OTP or an ordinary password. Same as but only OTP is allowed. Allow anonymous login. The following combination modes exists for backwards compatibility: Same as Same as Ignored. Debugging information is written to the syslog using LOG_FTP. Anonymous users will get a umask of Open a socket and wait for a connection. This is mainly used for debugging when ftpd isn't started by inetd. Each successful and failed session is logged using syslog with a facility of LOG_FTP. If this option is specified twice, the retrieve (get), store (put), append, delete, make directory, remove directory and rename operations and their filename arguments are also logged. Use (a service name or number) instead of the default A client may also request a different timeout period; the maximum period allowed may be set to seconds with the option. The default limit is 2 hours. The inactivity timeout period is set to seconds (the default is 15 minutes). Set the initial umask to something else than the default 027. In previous versions of when a passive mode client requested a data connection to the server, the server would use data ports in the range 1024..4999.  Now, by default, if the system supports the IP_PORTRANGE socket option, the server will use data ports in the range 49152..65535.  Specifying this option will revert to the old behavior. Verbose mode. use built-in ls to list files allowed anonymous upload filename chars The file can be used to disable ftp access. If the file exists, displays it and exits. If the file exists, prints it before issuing the message. If the file exists, prints it after a successful login. The ftp server currently supports the following ftp requests. The case of the requests is ignored. The following commands are specified by RFC2228. The following non-standard or specific commands are supported by the SITE request. The following Kerberos related site commands are understood. The remaining ftp requests specified in Internet RFC 959 are recognized, but not implemented. MDTM and SIZE are not specified in RFC 959, but will appear in the next updated FTP RFC. The ftp server will abort an active file transfer only when the ABOR command is preceded by a Telnet "Interrupt Process" (IP) signal and a Telnet "Synch" signal in the command Telnet stream, as described in Internet RFC 959. If a STAT command is received during a data transfer, preceded by a Telnet IP and Synch, transfer status will be returned. interprets file names according to the conventions used by This allows users to utilize the metacharacters authenticates users according to these rules. If Kerberos authentication is used, the user must pass valid tickets and the principal must be allowed to login as the remote user. The login name must be in the password data base, and not have a null password (if kerberos is used the password field is not checked).  In this case a password must be provided by the client before any file operations may be performed.  If the user has an OTP key, the response from a successful USER command will include an OTP challenge. The client may choose to respond with a PASS command giving either a standard password or an OTP one-time password. The server will automatically determine which type of password it has been given and attempt to authenticate accordingly. See for more information on OTP authentication. The login name must not appear in the file The user must have a standard shell returned by If the user name appears in the file the session's root will be changed to the user's login directory by as for an or account (see next item).  However, the user must still supply a password. This feature is intended as a compromise between a fully anonymous account and a fully privileged account.  The account should also be set up as for an anonymous account. If the user name is or an anonymous ftp account must be present in the password file (user In this case the user is allowed to log in by specifying any password (by convention an email address for the user should be used as the password). In the last case, takes special measures to restrict the client's access privileges. The server performs a to the home directory of the user. In order that system security is not breached, it is recommended that the subtree be constructed with care, consider following these guidelines for anonymous ftp. In general all files should be owned by and have non-write permissions (644 or 755 depending on the kind of file). No files should be owned or writable by (possibly with exception for the as specified below). The homedirectory should be owned by root. The directory for external programs (such as These programs must either be statically linked, or you must setup an environment for dynamic linking when running chrooted. These programs will be used if present: Used when listing files. When retrieving a filename that ends in and that file isn't present, will try to find the filename without and compress it on the fly. Same as compress, just with files ending in Enables retrieval of whole directories as files ending in Can also be combined with compression. You must use GNU Tar (or some other that supports the and flags). Will enable ``fast find'' with the command. You must also create a file in If you put copies of the and files here, ls will be able to produce owner names rather than numbers. Remember to remove any passwords from these files. The file if present, will be printed after a successful login. Put a copy of here. Traditional place to put whatever you want to make public. If you want guests to be able to upload files, create a directory owned by and group with mode 730 (make sure is member of group The following restrictions apply to anonymous users: Directories created will have mode 700. Uploaded files will be created with an umask of 777, if not changed with the option. These command are not accessible: and Filenames must start with an alpha-numeric character, and consist of alpha-numeric characters or any of the following: (plus), (minus), (equal), (underscore), (period), and (comma).
  • FILES
      Access list for users. List of normal users who should be chroot'd. Welcome notice. Welcome notice after login. Displayed and access refused. Login access for Kerberos.
  • SEE ALSO
  • STANDARDS
      FTP PROTOCOL SPECIFICATION OTP Specification FTP Security Extensions.
  • BUGS
      The server must run as the super-user to create sockets with privileged port numbers.  It maintains an effective user id of the logged in user, reverting to the super-user only when binding addresses to sockets.  The possible security holes have been extensively scrutinized, but are possibly incomplete.
  • HISTORY
      The command appeared in
Current Users: 28 © 1999-2006 Linux.com.hk PenguinSoft
All trademarks and copyrights on this page are owned by their respective companies. Linux is a trademark of Linus Torvalds.