Note that the following two commands are not equivalent:
rsh hostname
rsh hostname ls
The first actually invokes the "rlogin" protocol because you didn't
specify a command to run on the remote side. This will likely prompt you
for a password and then log you in to hostname.
The second actually uses the "rsh" protocol and tries to directly execute
the "ls" command on hostname instead of trying to log you in.
See the man pages for rsh and rlogin.
It is likely that you need a .rhosts file to specify that remote logins
should be permitted.
See the LAM FAQ, in the category "Booting LAM" for more information --
there's questions in there such as "What is a .rhosts file? Why do I need
it?", etc.
On Fri, 14 Dec 2001 psr_gop_at_[hidden] wrote:
>
> I am new to lam/mpi and got struct in the starting
> itself.I installed the rpm "lam-6.5.6-tcp.1.i386.rpm"
> on 2 linux systems running over a lAN.
> I was unable to lamboot the system.
> there are problems with rsh.
> the error(access denied) occurred when lamboot tried
> to execute rsh on remote machine
> "rsh remotehostname -n -l loginname echo $SHELL"
> I manually tried to execute and got the same error
> "access denied".
>
> but I was able to login using
> "rsh remotehostname -l loginname" command.
> what is the problem exactly is it with lam or rsh.
>
> thanks in advance
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Check out Yahoo! Shopping and Yahoo! Auctions for all of
> your unique holiday gifts! Buy at http://shopping.yahoo.com
> or bid at http://auctions.yahoo.com
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/
_______________________________________________
This list is archived at http://www.lam-mpi.org/MailArchives/lam/
|