netrc

file supplying remote user names and passwords for rexec 

File Format


DESCRIPTION

The .netrc file is a text file residing in your home directory that contains remote user names and passwords for use by the rexec command.

The format for each line is as follows:

machine remote_machine_name login remote_username password string

This method of storing remote user names and passwords is very insecure. To minimize the risk of other user reading the plain text passwords in the file, you should limit the access permissions on the file to only the user it contains passwords for.


EXAMPLES

A ~/.netrc containing the line

machine colossus login guest password guess

allows the command

rexec colossus ls

to run the ls on the remote machine colossus as the user guest with the password guess.


ACKNOWLEDGEMENT

This product includes software developed by the University of California, Berkeley and its contributors.


PORTABILITY

Windows 8.1. Windows Server 2012 R2. Windows 10. Windows Server 2016. Windows Server 2019. Windows 11. Windows Server 2022.


AVAILABILITY

PTC MKS Toolkit for System Administrators
PTC MKS Toolkit for Developers
PTC MKS Toolkit for Interoperability
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Commands:
rexec

MKS Toolkit Connectivity Solutions Guide


PTC MKS Toolkit 10.4 Documentation Build 39.