Print this page
5069 Removal of wu-ftpd
Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>
Reviewed by: Garrett D'Amore <garrett@damore.org>
Reviewed by: Milan Jurik <milan.jurik@xylab.cz>
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
Reviewed by: Gary Mills <gary_mills@fastmail.fm>
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Adam Stevko <adam.stevko@gmail.com>
   1 '\" te
   2 .\"  Copyright (c) 2006 Sun Microsystems, Inc. All Rights Reserved.
   3 .\" Copyright 1989 AT&T
   4 .\" 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.
   5 .\" 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.
   6 .\" 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]
   7 .TH NETRC 4 "Aug 25, 2006"
   8 .SH NAME
   9 netrc \- file for ftp remote login data
  10 .SH DESCRIPTION
  11 .sp
  12 .LP
  13 The \fB\&.netrc\fR file contains data for logging in to a remote host over the
  14 network for file transfers by \fBftp\fR(1). This file resides in the user's
  15 home directory on the machine initiating the file transfer. Its permissions
  16 should be set to disallow read access by group and others. See \fBchmod\fR(1).
  17 .sp
  18 .LP
  19 Tokens can be separated by \fBSPACE\fR, \fBTAB\fR, or \fBNEWLINE\fR characters.
  20 The following tokens are supported:
  21 .sp
  22 .ne 2
  23 .na
  24 \fB\fBaccount\fR \fIstring\fR\fR
  25 .ad
  26 .RS 19n
  27 Supply an additional account password. If this token is present, the auto-login
  28 process supplies the specified string if the remote server requires an
  29 additional account password. If the remote server does not require an
  30 additional account password, the auto-login process initiates an \fBACCT\fR
  31 command.


 119 .SH EXAMPLES
 120 .LP
 121 \fBExample 1 \fRA Sample \fB\&.netrc\fR File
 122 .sp
 123 .LP
 124 A \fB\&.netrc\fR file containing the following line:
 125 
 126 .sp
 127 .in +2
 128 .nf
 129 machine ray login demo password mypassword
 130 .fi
 131 .in -2
 132 
 133 .sp
 134 .LP
 135 allows an autologin to the machine \fBray\fR using the login name \fBdemo\fR
 136 with password \fBmypassword\fR.
 137 
 138 .SH FILES
 139 .sp
 140 .ne 2
 141 .na
 142 \fB\fB~/.netrc\fR\fR
 143 .ad
 144 .RS 12n
 145 
 146 .RE
 147 
 148 .SH SEE ALSO
 149 .sp
 150 .LP
 151 \fBchmod\fR(1), \fBftp\fR(1), \fBin.ftpd\fR(1M)
   1 '\" te
   2 .\"  Copyright (c) 2006 Sun Microsystems, Inc. All Rights Reserved.
   3 .\" Copyright 1989 AT&T
   4 .\" 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.
   5 .\" 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.
   6 .\" 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]
   7 .TH NETRC 4 "Aug 25, 2006"
   8 .SH NAME
   9 netrc \- file for ftp remote login data
  10 .SH DESCRIPTION

  11 .LP
  12 The \fB\&.netrc\fR file contains data for logging in to a remote host over the
  13 network for file transfers by \fBftp\fR(1). This file resides in the user's
  14 home directory on the machine initiating the file transfer. Its permissions
  15 should be set to disallow read access by group and others. See \fBchmod\fR(1).
  16 .sp
  17 .LP
  18 Tokens can be separated by \fBSPACE\fR, \fBTAB\fR, or \fBNEWLINE\fR characters.
  19 The following tokens are supported:
  20 .sp
  21 .ne 2
  22 .na
  23 \fB\fBaccount\fR \fIstring\fR\fR
  24 .ad
  25 .RS 19n
  26 Supply an additional account password. If this token is present, the auto-login
  27 process supplies the specified string if the remote server requires an
  28 additional account password. If the remote server does not require an
  29 additional account password, the auto-login process initiates an \fBACCT\fR
  30 command.


 118 .SH EXAMPLES
 119 .LP
 120 \fBExample 1 \fRA Sample \fB\&.netrc\fR File
 121 .sp
 122 .LP
 123 A \fB\&.netrc\fR file containing the following line:
 124 
 125 .sp
 126 .in +2
 127 .nf
 128 machine ray login demo password mypassword
 129 .fi
 130 .in -2
 131 
 132 .sp
 133 .LP
 134 allows an autologin to the machine \fBray\fR using the login name \fBdemo\fR
 135 with password \fBmypassword\fR.
 136 
 137 .SH FILES

 138 .ne 2
 139 .na
 140 \fB\fB~/.netrc\fR\fR
 141 .ad
 142 .RS 12n
 143 
 144 .RE
 145 
 146 .SH SEE ALSO

 147 .LP
 148 \fBchmod\fR(1), \fBftp\fR(1)