delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/22/06:13:30

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <021601c3e0d9$88fa0e80$7b07000a@steven>
From: "Steven Hartland" <killing AT multiplay DOT co DOT uk>
To: "Cygwin List" <cygwin AT cygwin DOT com>
References: <BKEALJICMGLKMNFJIFACOEBNCAAA DOT marc DOT poppleton AT teamlog DOT com> <400BC60A DOT 86B9EB74 AT dessent DOT net> <010601c3de8c$6f237bd0$b3db87d4 AT multiplay DOT co DOT uk> <6 DOT 0 DOT 1 DOT 1 DOT 0 DOT 20040119113355 DOT 039dbfe0 AT 127 DOT 0 DOT 0 DOT 1>
Subject: Re: rsh as NONE SYSTEM user = permission denied
Date: Thu, 22 Jan 2004 11:19:00 -0000
MIME-Version: 1.0
X-Spam-Processed: multiplay.co.uk, Thu, 22 Jan 2004 11:03:54 +0000 (not processed: message from valid local sender)
X-MDRemoteIP: 193.123.241.40
X-Return-Path: killing AT multiplay DOT co DOT uk
X-MDaemon-Deliver-To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

Thanks for a not very helpful response there Larry.
Some of us do search the archives before asking questions you know.

The real reason for this is the way the is root user checking is being done.
i.e. if the service user = the login user then it treats it as the "root" login
case which is not necessarily the case but as long as you know that
its ignoring the hosts.equiv file and only reading the users .rhosts file
its easy to work around.
Also of note is that the current hosts.equiv format is not documented
and doesn't conform to the current unix standards. That's to say that
the current code only supports:
<hostname> <user>
From the current basic hosts.equiv / .rhosts format

I've currently got a patch for inetutils util library which when linked
directly fixes these issues all be it not totally. The fix provides:
<hostname>
<hostname> +
<hostname> <user>
<hostname> -<user>

As well as adding more descriptive errors on login failure by using
the error passed from iruserok if applicable.

If anyone would like the patch just shout. N.B. this only fixes the inetutils
library and not the core cygwin libs which are linked by default.

    Steve

----- Original Message ----- 
From: "Larry Hall" 
To: "Steven 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.
> >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 file
> >out of rshd?
> 
> Yes.  Please visit:
> 
> >Problem reports:       http://cygwin.com/problems.html
> 
> and provide the requested information.  Also the output of 'cygcheck rsh'
> just before you would invoke 'rsh' would be helpful.

================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137
or return the E.mail to postmaster AT multiplay DOT co DOT uk.



--
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