delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/06/23/09:14:17

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Thu, 23 Jun 2005 09:13:59 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Christophe DELARUE <christophe DOT delarue AT reuters DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: Windows rights
In-Reply-To: <T71b3d7f030840a1e3a9e0@ritig7.amers.ime.reuters.com>
Message-ID: <Pine.GSO.4.61.0506230911240.27447@slinky.cs.nyu.edu>
References: <T71b3d7f030840a1e3a9e0 AT ritig7 DOT amers DOT ime DOT reuters DOT com>
MIME-Version: 1.0

On Thu, 23 Jun 2005, Christophe DELARUE wrote:

> Hi cygwinner.
>
> I try to use cygwin to make remote compilation on a windows machine. I
> installed inetd.  I've got a problem with my rights (id -a) when I am
> on the target hosts named myServerCygwin. They differ when I type my
> password or not (auto login).
>
>
> 1) First problem
> ****************
>
> I put in my remote hosts
> -------------------- //pchomesrv02/Home$/chrdelar/.rhosts : --------------------
> myUnixMachine
> ----------------------------------------------------------------------
> I put in my local host
> -------------------- /home/chrdelar/.rhosts : --------------------
> myServerCygwin
> ----------------------------------------------------------------------
>
> When I rlogin on myServerCygwin from myUnixMachine, the password is
> required. ... seems the //pchomesrv02/Home$/chrdelar/.rhosts is not
> viewed
>
> Once rlogged on the cygwin server, if I rlogin on my Unix machine, no
> password is asked. Thus I think the .rhost are well written.
>
> There is an other login foobar on the myServerCygwin with a home in
> /home/foobar ... not on the network. With this login, the rlogin
> recognizes the .rhosts and do not ask for a password.
>
> The inetd service is owned by LocalSystem.
>
> Why the .rhosts on the network is not recognized ?
>
> 2) Second problem
> *****************
>
> Thus I tried an other way to make rsh work without asking password. I
> create myServerCygwin:/etc/hosts.equiv and put a line containing
> myUnixMachine.
>
> rlogin myServerCygwin : no password is asked ... Yes Yes yes .. I WON
> ... arghhhh
>
> The rights are not good. (see below rlogin connection trace below). I
> check with foobar login. With no /etc/hosts.equiv but a good .rhosts,
> the rights are also broken.
>
> Why are my rights not the same with I rlogin using my password
> explicitely and with no password configuration ?
>
> I put the telnet connection which allow me to have the rights I'd like
> to have.
>
> I spent hours reading docs, surfing web ...

Same problem in both cases.  Read all of
<http://cygwin.com/cygwin-ug-net/ntsec.html>, especially the part titled
"Switching User Context", carefully.

HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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