NETRC(SFF) UNIX System V
Name
netrc - login file for remote networks
Description
If the .netrc file exists, it will be used by ftp(TC) for
automatic login on the remote host. For each remote host,
the file contains a one-line entry that describes the login
data for the user on that host.
An entry may consist of up to three blank-separated fields
introduced by keywords. The keyword is followed by the
literal data needed for login. The following keywords are
available:
machine The hostname of the machine.
login The user login name for that host.
password (Optional) The user's password on that host.
NOTE: The literal password must be given in
clear text; it is not encrypted.
If the .netrc file includes the password feature,
permissions on the file must be set to prohibit reading by
group and others; the file will not otherwise take effect.
Example
The following example entry allows automatic login on the
``admin'' host by a user named ``superuser'' whose password
is ``open''.
machine admin login superuser password open
Files
$HOME/.netrc
See Also
ftp(TC).
Warning
For security reasons, use of the password feature is not
recommended.
(printed 8/17/89) NETRC(SFF)