delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/05/11:55:21

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Tue, 5 Jun 2001 18:53:02 +0300
Message-Id: <200106051553.SAA19320@linux.>
From: "Ehud Karni" <ehud AT unix DOT simonwiesel DOT co DOT il>
To: cygwin AT cygwin DOT com
Subject: Re: rlogin without passwd prompt from cygwin
CC: cygwin AT cygwin DOT com
In-reply-to: <20010605154425.A525@cygbert.vinschen.de> (message from Corinna
Vinschen on Tue, 5 Jun 2001 15:44:25 +0200)
Organization: Simon & Wiesel Insurance agency
Reply-to: ehud AT unix DOT simonwiesel DOT co DOT il
References: <F11tQvAauNjVuMhvqgS000197cf AT hotmail DOT com> <20010605154425 DOT A525 AT cygbert DOT vinschen DOT de>
X-Mailer: Emacs 20.7.1 rmail (send-msg 1.104)
MIME-Version: 1.0

On Tue, 5 Jun 2001 15:44:25 +0200, Corinna Vinschen <cygwin AT cygwin DOT com> wrote:
> 
> On Tue, Jun 05, 2001 at 11:35:35AM -0000, piotr cygwin wrote:
> > Hello,
> > 
> > I still can't bypass the passwd prompt when trying to rlogin from cygwin to 
> > another machine.
> > 
> > Here is my user entry in /etc/passwd on cygwin:
 
Please send the output of `id' instead.

> > Here are the entries I have added in the rhosts file of the remote machine. 
> be sure the permissions of the remote $HOME/.rhosts file are 0600.

NOTE the name and permission !

The ~/.rhosts" format is: <machine> <user> (e.g. ibmpor47 PHUGONNET)
The <machine> is the name of the machine in the REMOTE machine hosts or
a DNS resolved name (on the REMOTE machine !). The user name is the name
on the LOCAL machine (upper case letters in your case).

The command is: rlogin <remote-machine> [-l <remote-user>]
You can omit the "-l <remote-user>" if it is EXACTLY the same as the
local user name.

> And care for the case of the name. The name is evaluated case sensitive
> so if it's all lower case on the remote machine, ...

Different case is different name, use the "-l <user-name>".

I checked rlogin (form 2001-01-19, inetutils 1.3.2-14) using cygwin1.dll
1.3.2.  The rlogin worked (I checked the commands on the remote machine)
but NO output was seen on the local machine. I reverted the cygwin1.dll
to 1.3.1 (from 2001-04-25) the same rlogin WORKED fine.
The CYGWIN env variable is not defined (empty).
I checked it on W95 (no other machine handy right now).

Ehud.


-- 
 Ehud Karni     Mivtach - Simon  Insurance   /"\
 Tel: +972-3-6212-757 Fax: +972-3-6292-544   \ /  ASCII Ribbon Campaign
 (USA) Fax and  voice  mail: 1-815-5509341    X   Against  HTML  Mail
     Better     Safe     Than     Sorry      / \
     mailto:ehud AT unix DOT simonwiesel DOT co DOT il    http://www.simonwiesel.co.il

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019