Re: RSH hangs indefinitely

2010-09-09 Thread Charles Wilson
On 9/9/2010 12:37 AM, 7force wrote: > Here is the situation I have and the things I did to get it:- > > 1. Initiate an RCP connection from Server A (Windows Vista) via Cygwin to > Server > B (Linux). You haven't specified which computer is running the rsh server, and which computer is running th

Re: rsh issue on cygwin

2010-06-19 Thread Tim Prince
On 6/19/2010 1:24 PM, ANUP DHAMALE wrote: I have configured cygwin on my windows box& I am unable to rsh to my Linux box from windows. Error message - Permission denied. Probably on the linux side; rsh server not installed/started/account enabled, firewall not open. rsh never open by de

Re: rsh from linux to windows2003 server

2008-05-31 Thread Igor Peshansky
First off, . Not only will you get access to more expertise than any one person can provide, but your query and the answers to it will be archived on the web for everyone to see. On Fri, 30 May 2008, Xiao Qing Liu wrote: > Sir: > I meet a issue: > > rsh 4

Re: rsh

2007-10-16 Thread Corinna Vinschen
On Oct 16 23:37, thefinn wrote: > I've noticed rsh doesn't seem to work on cygwin. It gives the following > error: > $ rsh -l thefinn 10.0.0.1 ls >5 [main] rsh 12 C:\cygwin\bin\rsh.exe: *** fatal error - couldn't > dynamically determine load address for 'rcmd' (handle 0x73A8), Win32 > er

Re: rsh

2007-10-16 Thread Brian Mathis
The most likely answer you're going to get is to switch to using ssh. There's certainly a lot more people using that these days, so any bugs or problems with it will be ironed out very quickly. On 10/16/07, thefinn <[EMAIL PROTECTED]> wrote: > I've noticed rsh doesn't seem to work on cygwin. It g

Re: rsh with command hangs, rlogin works

2006-06-05 Thread Lars Björnfot
Andrew DeFaria wrote: > Apparently /dev isn't a file or directory on 2003! That's very strange as syslogd-config creates the dir and then tests if it exists. > Executing syslog hello in another window just gives me a command > prompt back. Nothing gets written to /var/log/messages! Normal with n

Re: rsh with command hangs, rlogin works

2006-06-05 Thread Andrew DeFaria
Lars Björnfot wrote: Andrew DeFaria wrote: Still nothing in /var/log/messages No need to reboot. Just make sure the syslogd is started, it should output somthing when it starts but nothing special when launching in.rshd. To make sure syslog works, just $ syslog hello $ tail /var/log/messages

Re: rsh with command hangs, rlogin works

2006-06-05 Thread Lars Björnfot
Andrew DeFaria wrote: > Still nothing in /var/log/messages No need to reboot. Just make sure the syslogd is started, it should output somthing when it starts but nothing special when launching in.rshd. To make sure syslog works, just $ syslog hello $ tail /var/log/messages > Also, we must remem

Re: rsh with command hangs, rlogin works

2006-06-04 Thread Andrew DeFaria
Lars Björnfot wrote: Hi, Andrew DeFaria wrote: but nothing ever logged anything to /var/log/messages 'cept start and stop messages. ... how do you switch such services to log to there? Edit /etc/syslogd.conf to set the log level above which messages are included and to which logfile. I used

Re: rsh with command hangs, rlogin works

2006-06-04 Thread Lars Björnfot
Hi, Andrew DeFaria wrote: > but nothing ever logged anything to /var/log/messages 'cept > start and stop messages. ... how do you switch such services > to log to there? Edit /etc/syslogd.conf to set the log level above which messages are included and to which logfile. I used what the installer

Re: rsh with command hangs, rlogin works

2006-06-02 Thread Andrew DeFaria
Lars Björnfot wrote: $ rsh localhost ls HANGS for any command Still unsolved but: I noted a SIGSEGV message in the syslog which explains why it hangs. /var/log/messages: Jun 2 23:39:12 baloo kernel: in.rshd[3308]: segfault at 0003 rip 0022E4E5 rsp 0022E454 error 4 I downloaded the inetu

Re: rsh with command hangs, rlogin works

2006-06-02 Thread Lars Björnfot
> $ rsh localhost ls HANGS for any command Still unsolved but: I noted a SIGSEGV message in the syslog which explains why it hangs. /var/log/messages: Jun 2 23:39:12 baloo kernel: in.rshd[3308]: segfault at 0003 rip 0022E4E5 rsp 0022E454 error 4 I downloaded the inetutil sources, added s

Re: rsh with command hangs, rlogin works

2006-05-24 Thread Lars Björnfot
Andrew DeFaria wrote: > You created? By hand. Or did you use ssh-host-config. Perhaps the sshd user you created was for privilege separation? I used ssh-host-config. You're right about sshd too. > If Local System account is toggle then you are using SYSTEM. Checked, it's SYSTEM. >Local:grep -e

Re: rsh with command hangs, rlogin works

2006-05-23 Thread Andrew DeFaria
Lars Björnfot wrote: Andrew DeFaria wrote: I have a similar problem. I see you're on Windows 2003 Server. 2003 tightened security a bit. Actually "Windows XP Professional Ver 5.1 Build 2600 Service Pack 2". But I have a 2003 server which might be a next target... Silly me. I thought the 5.1 bit

Re: rsh with command hangs, rlogin works

2006-05-23 Thread Lars Björnfot
Andrew DeFaria wrote: >I have a similar problem. I see you're on Windows 2003 Server. 2003 tightened security a bit. Actually "Windows XP Professional Ver 5.1 Build 2600 Service Pack 2". But I have a 2003 server which might be a next target... >Given the above the cygrunsrv will be running as SYS

Re: rsh with command hangs, rlogin works

2006-05-23 Thread Andrew DeFaria
Lars Björnfot wrote: Hi all, This is my first mail on the list... I want to run rsh but this happens $ rsh localhost ls HANGS for any command $ rsh localhostworks fine I have set up inetd for cygrunsrv $ cygrunsrv -I inetd -d "CYGWIN inetd" -p /usr/sbin/inetd -a "-D -d" -e "CY

Re: rsh , $HOME environment variable

2005-08-19 Thread Corinna Vinschen
On Aug 19 17:33, Ram?n wrote: > # rsh -l Administrator MYHOST set | grep HOME > [...] > HOME=/ > HOMEDRIVE=C: > HOMEPATH='\cygwin\home\Administrator' > [...] > WHY ?? I need ~ and $HOME correctly declarated !! I'm moved to tears. The reason was an incorrect (better: missing) handling of $HOME in

RE: RSH configuration

2005-08-11 Thread Larry Hall
At 01:07 AM 8/11/2005, you wrote: >Hello sir ,thanks for your reply ,but further I will like to know the simple >thing that which packages during cygwin setup are required to download in >order to establish an remote login session from cygwin,where I want to work >with RSH protocol. The FAQ has t

RE: RSH configuration

2005-08-10 Thread Deepak Jadhav
are required to be modified for remote login. Please reply Warm regards, Deepak -Original Message- From: Larry Hall [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 10, 2005 10:12 PM To: [EMAIL PROTECTED]; cygwin@sources.redhat.com Subject: Re: RSH configuration At 12:45 AM 8/10/2005

Re: RSH configuration

2005-08-10 Thread Larry Hall
At 12:45 AM 8/10/2005, you wrote: >Respected sir , I am trying to use RSH utility in cygwin to connect to an >linux machine(remote host) in network .Since I have configured the remote >machine by modifying some of this files... > 1. Add 'rsh' and 'rlogin' to /etc/securetty > 2. Add

RE: rsh command gives: "rlogin: read: Operation not permitted"

2005-02-11 Thread Larry Hall
At 04:29 AM 2/11/2005, you wrote: > >>CYGWIN_NT-5.0 1.5.5(0.94/3/2) (g1gpv0j) (tty0) > > ^^ >This says you're using using Cygwin DLL version 1.5.5. The current version >is 1.5.12. Please upgrade and try again. > >This is the login prompt of my laptop I try to connect to and not

RE: rsh command gives: "rlogin: read: Operation not permitted"

2005-02-11 Thread Kouteren, Adrie van
] Verzonden: do 10-2-2005 17:47 Aan: Kouteren, Adrie van; cygwin@cygwin.com Onderwerp: Re: rsh command gives: "rlogin: read: Operation not permitted" At 06:43 AM 2/10/2005, you wrote: > >I installed cygwin on a Windows 2000 Service Pack 3 PC on my work. > >Installation is

Re: rsh command gives: "rlogin: read: Operation not permitted"

2005-02-10 Thread Larry Hall
At 06:43 AM 2/10/2005, you wrote: > >I installed cygwin on a Windows 2000 Service Pack 3 PC on my work. > >Installation is OK, but when a try to do a >rsh hostname >I always get: >rlogin: read: Operation not permitted > >I get this when I try to connect to one of the AIX machines, but also when

Re: rsh can't access the net work drive

2005-01-14 Thread Eddie Chan
Thanks, I didn't read the link... EDDIE Igor Pechtchanski wrote: Ugh, top-posting... Reformatted. On Fri, 14 Jan 2005, Eddie Chan wrote: Igor Pechtchanski wrote: On Fri, 14 Jan 2005, Eddie Chan wrote: Hi, I have set up cygwin to be able to remote shell to it. In cygwin, I was able to do ls "\\\

Re: rsh can't access the net work drive

2005-01-14 Thread Igor Pechtchanski
Ugh, top-posting... Reformatted. On Fri, 14 Jan 2005, Eddie Chan wrote: > Igor Pechtchanski wrote: > > On Fri, 14 Jan 2005, Eddie Chan wrote: > > > > > Hi, > > > > > > I have set up cygwin to be able to remote shell to it. In cygwin, I > > > was able to do > > > > > > > ls "epic\\devspace-cm

Re: rsh can't access the net work drive

2005-01-14 Thread Eddie Chan
Thanks for your suggestion. However, the problem seems to be the permission from rsh. I try the commmand on cygwin window without problem... > ls //epic/devspace-cm But if I run the command through remote shell. I got the access problem... > rsh deckard 'ls //epic/devspace-cm' ls: //epic/devspace

Re: rsh can't access the net work drive

2005-01-14 Thread Igor Pechtchanski
On Fri, 14 Jan 2005, Eddie Chan wrote: > Hi, > > I have set up cygwin to be able to remote shell to it. In cygwin, I was > able to do > > > ls "epic\\devspace-cm\\scripts" FYI, you can use forward slashes too, i.e., the following will work: ls //epic/devspace-cm/scripts (so no need to doubl

Re: rsh, strange command line parsing

2004-05-11 Thread Shun-ichi GOTO
Hi, > On Tue, 11 May 2004 10:33:30 +0200, Corinna Vinschen wrote, > rsh is using getopt_long for option processing. The old versions had it > statically linked in while newer versions are using the getopt_long built > into Cygwin. By default, Cygwin's getopt_long has argument permutation >

Re: rsh, strange command line parsing

2004-05-11 Thread Corinna Vinschen
On May 11 13:21, Shun-ichi GOTO wrote: > Hi, developers > > Few days ago, I upgraded cygwin from 1.5.5 to 1.5.9 > and I found strange behavior of rsh. > > The problem is that rsh want to handle argument of executing command. > For example, > > $ rsh host ls -a > rsh: unknown option -- a >

Re: rsh no longer works with rsync as of 1.5.9

2004-03-29 Thread Bruce Dobrin
Thank you Igor! Both of those work perfectly. As usual, you hit it dead on. Bruce D. - Original Message - From: "Igor Pechtchanski" <[EMAIL PROTECTED]> To: "Bruce Dobrin" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, March 29, 2004 1:

Re: rsh no longer works with rsync as of 1.5.9

2004-03-29 Thread Igor Pechtchanski
On Mon, 29 Mar 2004, Bruce Dobrin wrote: > On Fri, 26 Mar 2004, Igor Pechtchanski wrote: > > >Re: rsh no longer works with rsync as of 1.5.9 > >From: Igor Pechtchanski > >To: Bruce Dobrin > >Cc: cygwin at cygwin dot com > >Date: Fri, 26 Mar 2004 23:33:0

Re: rsh no longer works with rsync as of 1.5.9

2004-03-29 Thread Bruce Dobrin
On Fri, 26 Mar 2004, Igor Pechtchanski wrote: >Re: rsh no longer works with rsync as of 1.5.9 >From: Igor Pechtchanski >To: Bruce Dobrin >Cc: cygwin at cygwin dot com >Date: Fri, 26 Mar 2004 23:33:05 -0500 (EST) >Subject: Re: rsh no longer works with rsync as of 1.5.9 &g

Re: rsh no longer works with rsync as of 1.5.9

2004-03-26 Thread Igor Pechtchanski
On Fri, 26 Mar 2004, Bruce Dobrin wrote: > Hi, > > I have been using rsync via rsh (-e "rsh") for our general distributions > for a for all of our windows and Linux machines ( 2000 of them) . on > Upgrading from cygwin1.5.5 to 1.5.9, Rsync could no longer use rsh to > rsync. > > I get : "rsh

Re: rsh as NONE SYSTEM user = permission denied

2004-01-22 Thread Larry Hall (RFK Partners, Inc)
;m guessing that's not your real intent. Anyway, I'm glad you found a solution you find acceptable. >- Original Message - >From: "Larry Hall" >To: "Steven Hartland" >Sent: 19 January 2004 16:36 >Subject: Re: rsh as NONE SYSTEM user = permissi

Re: rsh as NONE SYSTEM user = permission denied

2004-01-22 Thread Steven Hartland
even Hartland" Sent: 19 January 2004 16:36 Subject: Re: rsh as NONE SYSTEM user = permission denied > At 08:02 AM 1/19/2004, Steven Hartland you wrote: > >Has anyone gotten rsh to work with a none system > >user? I've followed the guide inetutils-1.3.2.README. >

Re: rsh as NONE SYSTEM user = permission denied

2004-01-19 Thread Larry Hall
At 08:02 AM 1/19/2004, Steven Hartland you wrote: >Has anyone gotten rsh to work with a none system >user? I've followed the guide inetutils-1.3.2.README. >telnet works fine but a simple: >rsh -l myuser "ls /" >fails with: >Permission denied. > >Anyone got any ideas? N.B. anyway of getting a log fi

RE: rsh and rsync

2003-06-10 Thread Jing Zhao
Thanks Larry I found it. Now it works! -Original Message- From: Larry Hall [mailto:[EMAIL PROTECTED] Sent: 2003?6?10? 17:07 To: Jing Zhao Cc: [EMAIL PROTECTED] Subject: Re: rsh and rsync Jing Zhao wrote: > I have downloaded cygwin today. > > Doing rsync from Windows 2000

Re: rsh and rsync

2003-06-10 Thread Larry Hall
Jing Zhao wrote: > I have downloaded cygwin today. > > Doing rsync from Windows 2000 (running cygwin) to NetBSD Unix box with > the following: > > rsync -av "test.txt" [EMAIL PROTECTED]:/sd0/rsync > > I got the following error: > - > Runs commands on remote ho

Re: rsh problem - solved

2002-12-27 Thread Frederick Page
Hi ROBERT, ROBERT CHUNG wrote on Thu, Dec 26 2002: >FYI, below are all that I did. I installed all Cygwin components (NOT >the default option): I installed the default components, plus gcc, inet-utils and a few more. >Added followings to System Variables section of Control Panel --> >System

Re: rsh problem - solved

2002-12-26 Thread ROBERT CHUNG
. . . . So this is not my area of expertise. - Original Message - From: Frederick Page <[EMAIL PROTECTED]> Date: Thursday, December 26, 2002 1:29 pm Subject: Re: rsh problem - solved > Hi ROBERT, > > ROBERT CHUNG wrote on Thu, Dec 26 2002: > > >Just

Re: rsh problem - solved

2002-12-26 Thread Frederick Page
Hi ROBERT, ROBERT CHUNG wrote on Thu, Dec 26 2002: >Just for your information, I found the solution. On my server, I just >created /etc/hosts.equiv and put the IP address of client machines that >I am running rsh from. Now my server is accepting rsh connections. Thanks for the info, still

Re: rsh problem - solved

2002-12-26 Thread Christopher Faylor
On Thu, Dec 26, 2002 at 09:00:21AM -0500, ROBERT CHUNG wrote: >Just for your information, I found the solution. On my server, I just >created /etc/hosts.equiv and put the IP address of client machines that >I am running rsh from. Now my server is accepting rsh connections. >Thanks. So, after

Re: rsh problem - solved

2002-12-26 Thread ROBERT CHUNG
TED]> Date: Wednesday, December 25, 2002 2:10 pm Subject: Re: rsh problem > Hi ROBERT, > > ROBERT CHUNG wrote on Tue, Dec 24 2002: > > >I set up inetd in a Windows 2000 machine to enable rsh. Whoever, > no > >matter what I do, I get "Permission denied" erro

Re: rsh problem

2002-12-25 Thread Frederick Page
Hi ROBERT, ROBERT CHUNG wrote on Tue, Dec 24 2002: >I set up inetd in a Windows 2000 machine to enable rsh. Whoever, no >matter what I do, I get "Permission denied" error. Same here, posted the problem a few days ago (on 22nd) no answer. I could even narrow the problem down to a non-working ge

Re: RSH: permission denied for NTFS network shares

2002-12-21 Thread Genady Veytsman
The share is not password protected. It is accessable to all domain users. About 'net use' issue you are right. It shows the share as unavailable. But after I run "net use \\mystifile\mixsig$" it changes to OK. This doesn't solve the problem though. Its still permission denied. I tried to check em

Re: RSH/RSHD Configuration Problem

2002-04-25 Thread Andrews Harold G Maj USAFA/DFCS
Hello again, I didn't get any response to this from a few days ago. I was able to get rshd to run successfully on several other systems. There are two differences between those other systems and the one described below: 1) I was able to get rshd to accept connections on Win2K machines, but no

Re: rsh slow during RAS connection

2002-03-05 Thread Larry Hall (RFK Partners, Inc)
At 04:09 PM 3/5/2002, Michael Adler wrote: >I setup rsh by putting the client's IP in server:/etc/hosts, and the >hostname in server:/etc/hosts.equiv. /etc/hosts is a symlink to >/cygdrive/c/WINNT/system32/drivers/etc/hosts. > >Over the LAN , responses take about 1 second. > >If I dial into the s

RE: Rsh with wish application.

2002-01-03 Thread Tikka, Sami
This is just a guess, but on real Unix systems an error like yours usually occurs because in the first case the remote system is running a login shell for you and in the second case the shell is not a login shell. Perhaps the proper execution of tclsh or your script depends on some initialization