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.
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.
This product includes software developed by the University of California, Berkeley and its contributors.
Windows 2000. Windows XP. Windows Server 2003. Windows Vista. Windows 7. Windows Server 2008. Windows 8. Windows Server 2012.
MKS Toolkit for System Administrators
MKS Toolkit for Developers
MKS Toolkit for Interoperability
MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition
MKS Toolkit Connectivity Solutions Guide
MKS Toolkit 9.5 Documentation Build 3.