Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3BB37E81.6F09AA48@cportcorp.com> Date: Thu, 27 Sep 2001 15:31:13 -0400 From: Peter Buckley X-Mailer: Mozilla 4.7 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: rsh inetd no remote directory Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I have an rsh/inetd question- I have followed ALL the directions in the inetutils README. I searched the archives with google but didn't come up with anything pertinent. I read the man pages for rshd, inetd, and rsh. I've created .rhosts, hosts.equiv and hosts files in /etc/ (although I don't know what these are or are for, or if I did it right, I figured if I tried it and got it wrong I might at least get a different error). But my problem is the same- I have inetutils -14 inetd installed as a service (inetd --install-as-service), and when I try to rsh my_machine 'who' (or any other command) it gives me this error "No remote directory." In the rshd man page, it says this error is caused by the chdir command to the home directory failing. I get the same error from a Solaris machine or an NT machine with cygwin. Currently my home directory is on a network share, which I have mounted (system, binmode) to /home/pbuckley. The HOME user environment variable in NT is set to /home/pbuckley. When I rsh with no command (hence rlogin) it takes me to the network share, //network_share/user/pbuckley. Can anyone tell me where to go to figure this out? I tried setting the HOME environment variable to a local folder, with no change in the error. I have tried starting the service as myself (pbuckley) instead of system, but that doesn't help. Of course, the kicker is that if I start inetd from the command line, rsh works fine and dandy. Any hints on why it won't work when inetd is a service? Is there a way that I can debug this? I haven't used gdb before, but I saw someone posting about "debugging inetd" in the archives. TIA, Peter -- Your mouse has moved. Windows NT must be restarted for the change to take effect. Reboot now? [OK] -- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/