delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/10/11:03: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: Wed, 10 Nov 2004 11:02:40 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Yuval Kogman <yuval AT hyperroll DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: rlogind vs. smb
In-Reply-To: <20041110085752.GC7534@hyperroll.com>
Message-ID: <Pine.GSO.4.61.0411101056290.4545@slinky.cs.nyu.edu>
References: <20041110085752 DOT GC7534 AT hyperroll DOT com>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Wed, 10 Nov 2004, Yuval Kogman wrote:

> Howdy!
>
> We have some windows machines running Cygwin to which we'd like to
> connect via rsh.
>
> It all works well if the passwd entry's home field points to a local
> directory, and the .rhosts file in that directory contains the proper
> values.
>
> The accounts are hosted on a linux based file server. The unixes get the
> home directory via NFS, and the fileserver also shares via samba.
>
> If you set the home to //fileserver/share in the cygwin box's
> /etc/passwd, then .rhosts suddenly stops being valid, and you're asked
> for a password. What's funny is that if you put the right password in,
> then a shell is started, and the pwd is the share, and the files therein
> are available, including .rhosts.
>
> So basically:
>
> 1. does anybody know why rlogind doesn't like SMB shares?

<http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-SWITCH>, or see
/usr/share/doc/Cygwin/inetutils-1.3.2.README

> 2. does anybody know where rlogind logs it's complaints to?

Should be in /var/log/inetd.log or the Windows Event Log (Application).

> 3. while we're added, how do you get rlogind to be promiscuous?  Or
> actually, what's the cygwin equivelent of /etc/pam.d/rlogind ?

If by "promiscuous" you mean "persistent", go to the Service Control
Manager and set Startup Type for the "inetd" service to "Automatic".
	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