delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/07/05:07:54

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: <3500515B75D9D311948800508BA379559507D6@EX-LONDON>
From: Vince Hoffman <Vince DOT Hoffman AT uk DOT circle DOT com>
To: "'Kirk Erickson'" <kirk DOT erickson AT sbcglobal DOT net>, cygwin AT cygwin DOT com
Subject: RE: Remote mounts unavailable via rsh/rlogin/telnet
Date: Mon, 7 Oct 2002 10:07:42 +0100
MIME-Version: 1.0

This is a morning post before coffee so i'm probably missing something
but.... have you tried using password authentication rather than hosts.equiv
or .rhosts ?


-----Original Message-----
From: Kirk Erickson [mailto:kirk DOT erickson AT sbcglobal DOT net]
Sent: 06 October 2002 03:07
To: cygwin AT cygwin DOT com
Subject: Remote mounts unavailable via rsh/rlogin/telnet


Hello,

I've read all your postings related to rsh/rlogin,
but I've been unable login with write access to my home.

My home directory is shared by my Windows boxes, and
lives on the Linux machine I'm attempting to come in
from.

My Windows HOME is k:, which I've mounted by way of Windows:

        Tools | Map Network Drive

Its persistent across logins to Windows and works fine.
I install the inetd service thusly:

cygrunsrv -I inetd -d "CYGWIN inetd" -p /usr/sbin/inetd -a -d -e
CYGWIN=ntsec

and I can rlogin, but remote mounts are UNAVAILABLE.

The problem I guess is that all my attempts to mount from the
rlogin session, yield a different uid/gid, the simplest is:

                cmd
                C:\cygwin> net use k: \\Tor\win-kirke

I created a symbolic link for /home/kirke -> h:
And I can rlogin, but:

                vi ~/.bashrc    - yields a readonly session
                cat >it                 - creates but won't give 'it'
size > 0

Windows:
[kirke AT XOR k]$ l .bashrc
-rw-r--r--    1 kirke    None         1174 Oct  5 16:15 .bashrc
[kirke AT XOR k]$ id
uid=1003(kirke) gid=513(None) groups=513(None),544(Administrators)

via Linux:
[kirke AT XOR kirke]$ l .bashrc
-rwxr--r--    1 19938    1021         1174 Oct  5 16:15 .bashrc*
[kirke AT XOR kirke]$ id
uid=1003(kirke) gid=513(None)
groups=0(Everyone),513(None),544(Administrators),

45(Users)

I've scoured the mail archives and Google for a couple days,
fiddled with --user in starting inetd, and several mount
and 'net use' commands no avail.

        mount -b -s -f \\tor\win-kirke /home/kirke

I've placed the Linux machine's name in /etc/hosts.equiv,
and in ~/.rhosts - but apparently .rhosts is inaccessible
from this angle...

Any suggestions appreciated,
kirk

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

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

- Raw text -


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