remote shell command

  1. is there anyone know what is the record format for file .rhosts ?
  2. where to put .rhosts file ? is it on caller or on callee ?
  3. will remsh command works if callee is not unix platform (say AS400) ?
  4. best regards, Yatno

try man page first
$man rhosts
--T.H.

  1. hostname username
  2. in home directory from user for example user root in /
  3. should be

Regards
Michael

  1. <your local unix machines host name/Ip Address > <ur user name>

for Ex:- 12.12.23.43 nicholas
This is ur local system's IP address & local user name...

  1. Please place this file into users home direcotry on the remote systems in to which u want to try remote activities.

Ex: If u want to login on the remote system as root, then place this file in the root directory itself i.e. under '/'

If u want to login on the remote system as xxxx, then place this file in the /usr/users/xxxx (this is the home directory of the users xxxxx on the remote system).

  1. I'm not shure about this....

Do let us know....

A tip if you are having problems using remsh etc commands even when you think your .rhosts files are setup correctly:

Use both short and FQDN (fully qualified domain names) in your .rhosts files:

jumbo root
jumbo.amazon.com root

Also the actual *order* of short and FQDN can be important:

jumbo.amazon.com root
jumbo root

HP-UX's MC/Serviceguard is known to have issues with this.