Re: rsh working intermittently



On 19 Jan 2006, in the Usenet newsgroup linux.redhat, in article
<1137693133.235427.97800@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>, tgdrozda@xxxxxxxxx
wrote:

>I have enabled rsh on my RHEL 4.0. I want to be able to use it for
>localhosts only!

Why??? I'm curious as to what using 'rsh' buys you over just typing
the commands directly.

>So placed appropriate files $HOME/.rhosts
>/etc/hosts.equiv and edited /etc/securetty /etc/xinetd.d/rsh
>
>When I use the follwing command:
> rsh localhost ls
>Sometimes it works and sometimes it does not !!!

What does the logs say? What have you set up in /etc/xinetd.d/rsh for
logging?

>If I run above command three times in a row the first two will work the
>third will return:

For the same user? (User root is a sure thing to be blocked.)

>There seem to be some sort of a timeout becasue after a few minutes it
>works again.

What does 'netstat -tupan' show before, during, and after the block?

Old guy
.



Relevant Pages

  • Re: Does xp_cmdshell kill commands?
    ... default of 600 and "query timeout" is set at the default ... When run "normally" (from a command prompt or batch file) it worked ... including the native Windows rsh command and Cygwin's rsh ... >> Linux, VMS, and a Windows system running a Windows rshd. ...
    (microsoft.public.sqlserver.server)
  • Re: Problem with rsh from AIX to linux.
    ... >> I started having trouble running rsh from a AIX 5.1 system to Linux. ... >> The command returns without any output and exit code of 1. ... >> on linuxsys I do not see any tar or gzip processes running. ... I also checked the patchlevels on both of the AIX 5.1 systems and they are ...
    (comp.unix.aix)
  • Re: Problem with rsh from AIX to linux.
    ... While stranded on information super highway Villy Kruse wrote: ... In my experience, the parenteses are not ... > That would prevent an embarasment if the cd command failed. ... I can run rsh from A to C without any problem. ...
    (comp.unix.aix)
  • Re: VAX/VMS-WNT integration...
    ... > I can issue Solaris commands from VMS using RSH, but could I use RSH with WNT? ... I had RSH from the NT4.0 Server resource kit working for many years. ... command procedure. ...
    (comp.os.vms)
  • Re: Problem with rsh from AIX to linux.
    ... >> I started having trouble running rsh from a AIX 5.1 system to Linux. ... >> The command returns without any output and exit code of 1. ... >> on linuxsys I do not see any tar or gzip processes running. ... I also checked the patchlevels on both of the AIX 5.1 systems and they are ...
    (comp.os.linux.misc)