diff options
Diffstat (limited to 'usr/src/man/man1m/in.ftpd.1m')
| -rw-r--r-- | usr/src/man/man1m/in.ftpd.1m | 209 |
1 files changed, 10 insertions, 199 deletions
diff --git a/usr/src/man/man1m/in.ftpd.1m b/usr/src/man/man1m/in.ftpd.1m index edb00efd1b..7fc44bbfd6 100644 --- a/usr/src/man/man1m/in.ftpd.1m +++ b/usr/src/man/man1m/in.ftpd.1m @@ -4,15 +4,15 @@ .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License. .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] -.TH in.ftpd 1M "10 Nov 2005" "SunOS 5.11" "System Administration Commands" +.TH IN.FTPD 1M "Nov 10, 2005" .SH NAME in.ftpd, ftpd \- File Transfer Protocol Server .SH SYNOPSIS .LP .nf -\fBin.ftpd\fR [\fB-4\fR] [\fB-A\fR] [\fB-a\fR] [\fB-C\fR] [\fB-d\fR] [\fB-I\fR] [\fB-i\fR] [\fB-K\fR] [\fB-L\fR] [\fB-l\fR] - [\fB-o\fR] [\fB-P\fR \fIdataport\fR] [\fB-p\fR \fIctrlport\fR] [\fB-Q\fR] [\fB-q\fR] - [\fB-r\fR \fIrootdir\fR] [\fB-S\fR] [\fB-s\fR] [\fB-T\fR \fImaxtimeout\fR] [\fB-t\fR \fItimeout\fR] +\fBin.ftpd\fR [\fB-4\fR] [\fB-A\fR] [\fB-a\fR] [\fB-C\fR] [\fB-d\fR] [\fB-I\fR] [\fB-i\fR] [\fB-K\fR] [\fB-L\fR] [\fB-l\fR] + [\fB-o\fR] [\fB-P\fR \fIdataport\fR] [\fB-p\fR \fIctrlport\fR] [\fB-Q\fR] [\fB-q\fR] + [\fB-r\fR \fIrootdir\fR] [\fB-S\fR] [\fB-s\fR] [\fB-T\fR \fImaxtimeout\fR] [\fB-t\fR \fItimeout\fR] [\fB-u\fR \fIumask\fR] [\fB-V\fR] [\fB-v\fR] [\fB-W\fR] [\fB-w\fR] [\fB-X\fR] .fi @@ -29,47 +29,39 @@ connection to the FTP service is made or run as a standalone server. See \fBin.ftpd\fR supports the following options: .sp .ne 2 -.mk .na \fB\fB-4\fR\fR .ad .RS 17n -.rt When running in standalone mode, listen for connections on an \fBAF_INET\fR type socket. The default is to listen on an \fBAF_INET6\fR type socket. .RE .sp .ne 2 -.mk .na \fB\fB-a\fR\fR .ad .RS 17n -.rt Enables use of the \fBftpaccess\fR(4) file. .RE .sp .ne 2 -.mk .na \fB\fB-A\fR\fR .ad .RS 17n -.rt Disables use of the \fBftpaccess\fR(4) file. Use of \fBftpaccess\fR is disabled by default. .RE .sp .ne 2 -.mk .na \fB\fB-C\fR\fR .ad .RS 17n -.rt Non-anonymous users need local credentials (for example, to authenticate to remote fileservers). So they should be prompted for a password unless they forwarded credentials as part of authentication. @@ -77,23 +69,19 @@ forwarded credentials as part of authentication. .sp .ne 2 -.mk .na \fB\fB-d\fR\fR .ad .RS 17n -.rt Writes debugging information to \fBsyslogd\fR(1M). .RE .sp .ne 2 -.mk .na \fB\fB-i\fR\fR .ad .RS 17n -.rt Logs the names of all files received by the \fBFTP\fR Server to \fBxferlog\fR(4). You can override the \fB-i\fR option through use of the \fBftpaccess\fR(4) file. @@ -101,12 +89,10 @@ Logs the names of all files received by the \fBFTP\fR Server to .sp .ne 2 -.mk .na \fB\fB-I\fR\fR .ad .RS 17n -.rt Disables the use of \fBAUTH\fR and \fBident\fR to determine the username on the client. See \fIRFC 931\fR. The \fBFTP\fR Server is built not to use \fBAUTH\fR and \fBident\fR. @@ -114,12 +100,10 @@ and \fBident\fR. .sp .ne 2 -.mk .na \fB\fB-K\fR\fR .ad .RS 17n -.rt Connections are only allowed for users who can authenticate through the \fBftp\fR \fBAUTH\fR mechanism. (Anonymous \fBftp\fR may also be allowed if it is configured.) \fBftpd\fR will ask the user for a password if one is required. @@ -127,23 +111,19 @@ is configured.) \fBftpd\fR will ask the user for a password if one is required. .sp .ne 2 -.mk .na \fB\fB-l\fR\fR .ad .RS 17n -.rt Logs each \fBFTP\fR session to \fBsyslogd\fR(1M). .RE .sp .ne 2 -.mk .na \fB\fB-L\fR\fR .ad .RS 17n -.rt Logs all commands sent to \fBin.ftpd\fR to \fBsyslogd\fR(1M). When the \fB-L\fR option is used, command logging will be on by default, once the FTP Server is invoked. Because the \fBFTP\fR Server includes \fBUSER\fR commands in those @@ -154,12 +134,10 @@ the \fBftpaccess\fR(4) file. .sp .ne 2 -.mk .na \fB\fB-o\fR\fR .ad .RS 17n -.rt Logs the names of all files transmitted by the FTP Server to \fBxferlog\fR(4). You can override the \fB-o\fR option through use of the \fBftpaccess\fR(4) file. @@ -167,12 +145,10 @@ file. .sp .ne 2 -.mk .na \fB\fB-P\fR \fIdataport\fR\fR .ad .RS 17n -.rt The FTP Server determines the port number by looking in the \fBservices\fR(4) file for an entry for the \fBftp-data\fR service. If there is no entry, the daemon uses the port just prior to the control connection port. Use the @@ -181,12 +157,10 @@ daemon uses the port just prior to the control connection port. Use the .sp .ne 2 -.mk .na \fB\fB-p\fR \fIctrlport\fR\fR .ad .RS 17n -.rt When run in standalone mode, the \fBFTP\fR Server determines the control port number by looking in the \fBservices\fR(4) file for an entry for the \fBftp\fR service. Use the \fB-p\fR option to specify the control port number. @@ -194,12 +168,10 @@ service. Use the \fB-p\fR option to specify the control port number. .sp .ne 2 -.mk .na \fB\fB-Q\fR\fR .ad .RS 17n -.rt Disables \fBPID\fR files. This disables user limits. Large, busy sites that do not want to impose limits on the number of concurrent users can use this option to disable \fBPID\fR files. @@ -207,12 +179,10 @@ to disable \fBPID\fR files. .sp .ne 2 -.mk .na \fB\fB-q\fR\fR .ad .RS 17n -.rt Uses \fBPID\fR files. The \fBlimit\fR directive uses \fBPID\fR files to determine the number of current users in each access class. By default, \fBPID\fR files are used. @@ -220,12 +190,10 @@ determine the number of current users in each access class. By default, .sp .ne 2 -.mk .na \fB\fB-r\fR \fIrootdir\fR\fR .ad .RS 17n -.rt \fBchroot\fR(2) to \fIrootdir\fR upon loading. Use this option to improve system security. It limits the files that can be damaged should a break in occur through the daemon. This option is similar to anonymous \fBFTP\fR. @@ -234,12 +202,10 @@ Additional files are needed, which vary from system to system. .sp .ne 2 -.mk .na \fB\fB-S\fR\fR .ad .RS 17n -.rt Places the daemon in standalone operation mode. The daemon runs in the background. This is useful for startup scripts that run during system initialization. See \fBinit.d\fR(4). @@ -247,24 +213,20 @@ initialization. See \fBinit.d\fR(4). .sp .ne 2 -.mk .na \fB\fB-s\fR\fR .ad .RS 17n -.rt Places the daemon in standalone operation mode. The daemon runs in the foreground. This is useful when run from \fB/etc/inittab\fR by \fBinit\fR(1M). .RE .sp .ne 2 -.mk .na \fB\fB-T\fR \fImaxtimeout\fR\fR .ad .RS 17n -.rt Sets the maximum allowable timeout period to \fImaxtimeout\fR seconds. The default maximum timeout limit is 7200 second (two hours). You can override the \fB-T\fR option through use of the \fBftpaccess\fR(4) file. @@ -272,12 +234,10 @@ default maximum timeout limit is 7200 second (two hours). You can override the .sp .ne 2 -.mk .na \fB\fB-t\fR \fItimeout\fR\fR .ad .RS 17n -.rt Sets the inactivity timeout period to \fItimeout\fR seconds. The default timeout period is 900 seconds (15 minutes). You can override the \fB-t\fR option through use of the \fBftpaccess\fR(4) file. @@ -285,68 +245,56 @@ option through use of the \fBftpaccess\fR(4) file. .sp .ne 2 -.mk .na \fB\fB-u\fR \fIumask\fR\fR .ad .RS 17n -.rt Sets the default \fBumask\fR to \fIumask\fR. .RE .sp .ne 2 -.mk .na \fB\fB-V\fR\fR .ad .RS 17n -.rt Displays copyright and version information, then terminate. .RE .sp .ne 2 -.mk .na \fB\fB-v\fR\fR .ad .RS 17n -.rt Writes debugging information to \fBsyslogd\fR(1M). .RE .sp .ne 2 -.mk .na \fB\fB-W\fR\fR .ad .RS 17n -.rt Does not record user \fBlogin\fR and \fBlogout\fR in the \fBwtmpx\fR(4) file. .RE .sp .ne 2 -.mk .na \fB\fB-w\fR\fR .ad .RS 17n -.rt Records each user \fBlogin\fR and \fBlogout\fR in the \fBwtmpx\fR(4) file. By default, logins and logouts are recorded. .RE .sp .ne 2 -.mk .na \fB\fB-X\fR\fR .ad .RS 17n -.rt Writes the output from the \fB-i\fR and \fB-o\fR options to the \fBsyslogd\fR(1M) file instead of \fBxferlog\fR(4). This allows the collection of output from several hosts on one central loghost. You can override the @@ -360,321 +308,263 @@ The FTP Server currently supports the following \fBFTP\fR requests. Case is not distinguished. .sp .ne 2 -.mk .na \fB\fBABOR\fR\fR .ad .RS 8n -.rt Abort previous command. .RE .sp .ne 2 -.mk .na \fB\fBADAT\fR\fR .ad .RS 8n -.rt Send an authentication protocol message. .RE .sp .ne 2 -.mk .na \fB\fBALLO\fR\fR .ad .RS 8n -.rt Allocate storage (vacuously). .RE .sp .ne 2 -.mk .na \fB\fBAUTH\fR\fR .ad .RS 8n -.rt Specify an authentication protocol to be performed. Currently only "\fBGSSAPI\fR" is supported. .RE .sp .ne 2 -.mk .na \fB\fBAPPE\fR\fR .ad .RS 8n -.rt Append to a file. .RE .sp .ne 2 -.mk .na \fB\fBCCC\fR\fR .ad .RS 8n -.rt Set the command channel protection mode to "\fBClear\fR" (no protection). Not allowed if data channel is protected. .RE .sp .ne 2 -.mk .na \fB\fBCDUP\fR\fR .ad .RS 8n -.rt Change to parent of current working directory. .RE .sp .ne 2 -.mk .na \fB\fBCWD\fR\fR .ad .RS 8n -.rt Change working directory. .RE .sp .ne 2 -.mk .na \fB\fBDELE\fR\fR .ad .RS 8n -.rt Delete a file. .RE .sp .ne 2 -.mk .na \fB\fBENC\fR\fR .ad .RS 8n -.rt Send a privacy and integrity protected command (given in argument). .RE .sp .ne 2 -.mk .na \fB\fBEPRT\fR\fR .ad .RS 8n -.rt Specify extended address for the transport connection. .RE .sp .ne 2 -.mk .na \fB\fBEPSV\fR\fR .ad .RS 8n -.rt Extended passive command request. .RE .sp .ne 2 -.mk .na \fB\fBHELP\fR\fR .ad .RS 8n -.rt Give help information. .RE .sp .ne 2 -.mk .na \fB\fBLIST\fR\fR .ad .RS 8n -.rt Give list files in a directory (\fBls\fR \fB-lA\fR). .RE .sp .ne 2 -.mk .na \fB\fBLPRT\fR\fR .ad .RS 8n -.rt Specify long address for the transport connection. .RE .sp .ne 2 -.mk .na \fB\fBLPSV\fR\fR .ad .RS 8n -.rt Long passive command request. .RE .sp .ne 2 -.mk .na \fB\fBMIC\fR\fR .ad .RS 8n -.rt Send an integrity protected command (given in argument). .RE .sp .ne 2 -.mk .na \fB\fBMKD\fR\fR .ad .RS 8n -.rt Make a directory. .RE .sp .ne 2 -.mk .na \fB\fBMDTM\fR\fR .ad .RS 8n -.rt Show last time file modified. .RE .sp .ne 2 -.mk .na \fB\fBMODE\fR\fR .ad .RS 8n -.rt Specify data transfer \fImode\fR. .RE .sp .ne 2 -.mk .na \fB\fBNLST\fR\fR .ad .RS 8n -.rt Give name list of files in directory (\fBls\fR). .RE .sp .ne 2 -.mk .na \fB\fBNOOP\fR\fR .ad .RS 8n -.rt Do nothing. .RE .sp .ne 2 -.mk .na \fB\fBPASS\fR\fR .ad .RS 8n -.rt Specify password. .RE .sp .ne 2 -.mk .na \fB\fBPASV\fR\fR .ad .RS 8n -.rt Prepare for server-to-server transfer. .RE .sp .ne 2 -.mk .na \fB\fBPBSZ\fR\fR .ad .RS 8n -.rt Specify a protection buffer size. .RE .sp .ne 2 -.mk .na \fB\fBPROT\fR\fR .ad .RS 8n -.rt Specify a protection level under which to protect data transfers. Allowed arguments: .sp .ne 2 -.mk .na \fB\fBclear\fR\fR .ad .RS 11n -.rt No protection. .RE .sp .ne 2 -.mk .na \fB\fBsafe\fR\fR .ad .RS 11n -.rt Integrity protection .RE .sp .ne 2 -.mk .na \fB\fBprivate\fR\fR .ad .RS 11n -.rt Integrity and encryption protection .RE @@ -682,243 +572,199 @@ Integrity and encryption protection .sp .ne 2 -.mk .na \fB\fBPORT\fR\fR .ad .RS 8n -.rt Specify data connection port. .RE .sp .ne 2 -.mk .na \fB\fBPWD\fR\fR .ad .RS 8n -.rt Print the current working directory. .RE .sp .ne 2 -.mk .na \fB\fBQUIT\fR\fR .ad .RS 8n -.rt Terminate session. .RE .sp .ne 2 -.mk .na \fB\fBREST\fR\fR .ad .RS 8n -.rt Restart incomplete transfer. .RE .sp .ne 2 -.mk .na \fB\fBRETR\fR\fR .ad .RS 8n -.rt Retrieve a file. .RE .sp .ne 2 -.mk .na \fB\fBRMD\fR\fR .ad .RS 8n -.rt Remove a directory. .RE .sp .ne 2 -.mk .na \fB\fBRNFR\fR\fR .ad .RS 8n -.rt Specify rename-from file name. .RE .sp .ne 2 -.mk .na \fB\fBRNTO\fR\fR .ad .RS 8n -.rt Specify rename-to file name. .RE .sp .ne 2 -.mk .na \fB\fBSITE\fR\fR .ad .RS 8n -.rt Use nonstandard commands. .RE .sp .ne 2 -.mk .na \fB\fBSIZE\fR\fR .ad .RS 8n -.rt Return size of file. .RE .sp .ne 2 -.mk .na \fB\fBSTAT\fR\fR .ad .RS 8n -.rt Return status of server. .RE .sp .ne 2 -.mk .na \fB\fBSTOR\fR\fR .ad .RS 8n -.rt Store a file. .RE .sp .ne 2 -.mk .na \fB\fBSTOU\fR\fR .ad .RS 8n -.rt Store a file with a unique name. .RE .sp .ne 2 -.mk .na \fB\fBSTRU\fR\fR .ad .RS 8n -.rt Specify data transfer \fIstructure\fR. .RE .sp .ne 2 -.mk .na \fB\fBSYST\fR\fR .ad .RS 8n -.rt Show operating system type of server system. .RE .sp .ne 2 -.mk .na \fB\fBTYPE\fR\fR .ad .RS 8n -.rt Specify data transfer \fBtype\fR. .RE .sp .ne 2 -.mk .na \fB\fBUSER\fR\fR .ad .RS 8n -.rt Specify user name. .RE .sp .ne 2 -.mk .na \fB\fBXCUP\fR\fR .ad .RS 8n -.rt Change to parent of current working directory. This request is deprecated. .RE .sp .ne 2 -.mk .na \fB\fBXCWD\fR\fR .ad .RS 8n -.rt Change working directory. This request is deprecated. .RE .sp .ne 2 -.mk .na \fB\fBXMKD\fR\fR .ad .RS 8n -.rt Make a directory. This request is deprecated. .RE .sp .ne 2 -.mk .na \fB\fBXPWD\fR\fR .ad .RS 8n -.rt Print the current working directory. This request is deprecated. .RE .sp .ne 2 -.mk .na \fB\fBXRMD\fR\fR .ad .RS 8n -.rt Remove a directory. This request is deprecated. .RE @@ -928,133 +774,109 @@ The following nonstandard or UNIX specific commands are supported by the \fBSITE\fR request: .sp .ne 2 -.mk .na \fB\fBALIAS\fR\fR .ad .RS 15n -.rt List aliases. .RE .sp .ne 2 -.mk .na \fB\fBCDPATH\fR\fR .ad .RS 15n -.rt List the search path used when changing directories. .RE .sp .ne 2 -.mk .na \fB\fBCHECKMETHOD\fR\fR .ad .RS 15n -.rt List or set the \fBchecksum\fR method. .RE .sp .ne 2 -.mk .na \fB\fBCHECKSUM\fR\fR .ad .RS 15n -.rt Give the \fBchecksum\fR of a file. .RE .sp .ne 2 -.mk .na \fB\fBCHMOD\fR\fR .ad .RS 15n -.rt Change mode of a file. For example, \fBSITE CHMOD 755 \fIfilename\fR\fR. .RE .sp .ne 2 -.mk .na \fB\fBEXEC\fR\fR .ad .RS 15n -.rt Execute a program. For example, \fBSITE EXEC program params\fR .RE .sp .ne 2 -.mk .na \fB\fBGPASS\fR\fR .ad .RS 15n -.rt Give special group access password. For example, \fBSITE GPASS bar\fR. .RE .sp .ne 2 -.mk .na \fB\fBGROUP\fR\fR .ad .RS 15n -.rt Request special group access. For example, \fBSITE GROUP foo\fR. .RE .sp .ne 2 -.mk .na \fB\fBGROUPS\fR\fR .ad .RS 15n -.rt List supplementary group membership. .RE .sp .ne 2 -.mk .na \fB\fBHELP\fR\fR .ad .RS 15n -.rt Give help information. For example, \fBSITE HELP\fR. .RE .sp .ne 2 -.mk .na \fB\fBIDLE\fR\fR .ad .RS 15n -.rt Set idle-timer. For example, \fBSITE IDLE 60\fR. .RE .sp .ne 2 -.mk .na \fB\fBUMASK\fR\fR .ad .RS 15n -.rt Change \fBumask\fR. For example, \fBSITE UMASK 002\fR. .RE @@ -1196,7 +1018,6 @@ The \fBin.ftpd\fR command is IPv6-enabled. See \fBip6\fR(7P). .SH FILES .sp .ne 2 -.mk .na \fB\fB/etc/ftpd/ftpaccess\fR\fR .ad @@ -1207,7 +1028,6 @@ FTP Server configuration file .sp .ne 2 -.mk .na \fB\fB/etc/ftpd/ftpconversions\fR\fR .ad @@ -1218,7 +1038,6 @@ FTP Server conversions database .sp .ne 2 -.mk .na \fB\fB/etc/ftpd/ftpgroups\fR\fR .ad @@ -1229,7 +1048,6 @@ FTP Server enhanced group access file .sp .ne 2 -.mk .na \fB\fB/etc/ftpd/ftphosts\fR\fR .ad @@ -1240,7 +1058,6 @@ FTP Server individual user host access file .sp .ne 2 -.mk .na \fB\fB/etc/ftpd/ftpservers\fR\fR .ad @@ -1251,7 +1068,6 @@ FTP Server virtual hosting configuration file. .sp .ne 2 -.mk .na \fB\fB/etc/ftpd/ftpusers\fR\fR .ad @@ -1262,7 +1078,6 @@ File listing users for whom FTP login privileges are disallowed. .sp .ne 2 -.mk .na \fB\fB/etc/ftpusers\fR\fR .ad @@ -1274,7 +1089,6 @@ this file is deprecated. .sp .ne 2 -.mk .na \fB\fB/var/log/xferlog\fR\fR .ad @@ -1285,18 +1099,16 @@ FTP Server transfer log file .sp .ne 2 -.mk .na \fB\fB/var/run/ftp.pids-\fIclassname\fR\fR\fR .ad .sp .6 .RS 4n - + .RE .sp .ne 2 -.mk .na \fB\fB/var/adm/wtmpx\fR\fR .ad @@ -1314,13 +1126,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityExternal +Interface Stability External .TE .SH SEE ALSO |
