Home > Unix > UNIX – Lesson 022 – .rhost file

UNIX – Lesson 022 – .rhost file


.rhost

.rhosts” file  is used to control which machines trust other machines for access to your account. If a machine trusts another machines then it will allow a specified user (usually yourself) to access your account without having to enter a password.
If the system administrator has configured the system to use remsh, you can use rcp/rlogin without any additional configuration.
To use rcp, require the following:
  • Read permission on the files you want to copy; read and search permission on all directories.
  • An account (login) on the remote system.
  • A “.rhosts” file in the home directory of the remote system containing the names of the local system and loginame.
Example :
hpabc leslie
Where hpabc is the name of workstation and leaslie is the local loginame.
This setting allows leslie on hpabc to copy files on the remote system containing the ”.rhosts” file.
Categories: Unix
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: