Berkeley Remote Command Setup

[Home] [Resume] [Work Responsibilities] [Search Page] [IT Menu]

 

hosts.equiv file

It is possible to log onto a remote computer using the rlogon command from your local computer.  The user account will have to have been set up on both computers and in this situation the user will have to enter in the password.

rlogon remotehost     (linuxser)

It is possible to enable the local computer to log into the remote computer with out the need of a password but only after the editing of the /etc/hosts.equiv file on the computer granting the access.  This can only be done as a super user.

On the computer allowing access. (Linuxser)

  1. Enter the host name of those computers you wish users to grant access from, without the need for a password. Enter the names such as (Linuxwor) in the /etc/hosts.equiv file. If there are any remote computers you particularly do not want to be able to gain to the local server then their hostnames should be added with a - sign infront.  i.e  ( -linuxwor2 )

  2. Create an account for all the remote users who will be logging in. Make sure the username and password exactly matches that which is set up for the user on the remote computer 

Example of a /etc/hosts.equiv file 

hostname

 

On the computer requiring access. (Linuxwor)

  1. Log onto the remote computer.  The equivalent account must also reside on the linuxser computer.

  2. Type rlogin remotehost ( rlogin linuxser )

  3. The local prompt will change to the prompt displayed on the remote computer (linuxser)

.rhosts File

The hidden file .rhosts which normally resides in the home directory allows the user username to access their account files on their local host from their accounts on other hosts. It also allows grants other users access to the users home directory.

EXAMPLES

The following sample entries in the /petecare/.rhosts file on host linuxser allow users moshe and pierre at remote host hostname1 and user robert at the hosts specified in the NIS netgroup chicago to log in to user petecaro's home directory on host zeus:

Example of a .rhosts file on host zeus

venus moshe

venus pierre

+@chicago robert

 

 

 

The Basic Installation Installation and Configuration The Setup Program  
The GUI Configuration   Configuring the network Web Serving Using Apache 
Installing and configuring Samba Domain Name Server  Setup
  Mail Server Setup Berkeley Remote Command Setup