Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ netrc(5) — AIX PS/2 1.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

rexec

ftp



.NETRC(5,F)                 AIX TCP/IP User's Guide                 .NETRC(5,F)



-------------------------------------------------------------------------------
.netrc



PURPOSE

Contains information used by the rexec and the ftp (xftp) commands for
automatic login.

SYNOPSIS

$HOME/.netrc

DESCRIPTION

The .netrc file contains the user ID and password information required for the
automatic log in features of the rexec and the xftp commands.  It is a hidden
file in the user's home directory, and its permissions must be set to 600 (read
and write by owner only).

The format of an entry in .netrc is:

  machine hostname login userid password password

where:

   hostname is the name of the host on which the user ID exists.

   userid is the user ID on that host.

   password is the password for that user ID.

  machine host1 login tom password toms-pass

The /usr/lpp/tcpip/samples/netrc file is a sample .netrc file.  Use the
following procedure to create a .netrc file based on the sample:

  1. Copy /usr/lpp/tcpip/samples/netrc to your home directory.

  2. Edit netrc to supply the appropriate hostname, userid, and password.

  3. Set the permissions on netrc to 600.

  4. Rename the file .netrc (the initial ., or dot, causes the file to be
    hidden).

  machine host1 login tom password toms-pass

Note:  Because your .netrc file may contain the root passwords of other systems
(in addition to your user ID and password), it is especially important to take




Processed October 29, 1990        .NETRC(5,F)                                 1





.NETRC(5,F)                 AIX TCP/IP User's Guide                 .NETRC(5,F)



security measures, such as not leaving your terminal unattended when you are
logged in.

FILES

$HOME/.netrc

/usr/lpp/tcpip/samples/netrc


RELATED INFORMATION

In this book:
"rexec"
"ftp"








































Processed October 29, 1990        .NETRC(5,F)                                 2



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026