delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/18/07:36:06

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=aBzvdcuOklRJcxUKcdU4dOqKDDI3XGxaXxouj2/22hD
zdSOuyY8fC05DfIgk8TAmWlNX717Nx/+UP7mF9MxHFOCmIJVSvJ11n14I1LS+dCN
jiy+cuCA1jRBG5+yhnOL8LMEpglrDI0D2+pzpTiymGouDDUBmNj1Z+L41jr3Z3HA
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=ufjoRae1YmfvJCGdfr+GeBt4sHM=; b=v1QrQjCwqsv2Ie2eQ
s66zWP0eMJBlpP61Ii8iGNlpj3iEzk/JbKhWx1yQeYETCoDmY7S2OSS3lPDIB1j6
r1d9P0Pzd+zyb/txdbEdkCu+orxzIiYZqLRspD2u5zzATkjLEOva5DKL1QIp/kmM
7CQG1s2rk6zldbgQY1B7X486gE=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.4 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: ossmail01.onespin-solutions.com
Message-ID: <53035392.5060100@onespin-solutions.com>
Date: Tue, 18 Feb 2014 13:35:30 +0100
From: =?UTF-8?B?RG9taW5payBTdHJhw59lcg==?= <dominik DOT strasser AT onespin-solutions DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: NFS/SSHD interaction
References: <53034B02 DOT 6030501 AT onespin-solutions DOT com> <20140218122019 DOT GE2246 AT calimero DOT vinschen DOT de>
In-Reply-To: <20140218122019.GE2246@calimero.vinschen.de>
X-Spam-Score: -2.9 () ALL_TRUSTED,BAYES_00
X-IsSubscribed: yes

Hi Corinna,
thanks for the pointer. I haven't yet fully understood the credentials 
stuff. But can it have this result:
In the cygwin terminal:
ls -l /cygdrive
total 43
d---------+  1 TrustedInstaller TrustedInstaller     0 Feb 18 10:27 c
drwxr-x---  15 night            None              1024 Jan 23 22:53 k
drwxr-x---  52 night            None             24576 Feb 18  2014 n
drwxr-x--x  62 night            None             14336 Feb 17 13:57 s

In the ssh:
ls -l /cygdrive
total 4
d---------+ 1 TrustedInstaller TrustedInstaller 0 Feb 18 10:27 c

Regards

Dominik

Am 18.02.2014 13:20, schrieb Corinna Vinschen:
> On Feb 18 12:58, Dominik Straßer wrote:
>> Hi all,
>> I am facing an interaction issue between Microsoft's NFS client and
>> cygwin's sshd.
>>
>> I am trying to set the following environment:
>> mounting user1's home dir to drive x:
>> mounting user2's home dir to drive y:
>>
>> mount x: in cygwin (fstab) to /home/user1
>> mount y: in cygwin (fstab) to /home/user2
>>
>> This works fine when I start the cygwin terminal directly.
>>
>> If I now ssh to user1, I can't see /home/user1 and /home/user2.
>> /cygdrive/x and cygdrive/y don't exist.
>>
>> My suspicion is the following:
>> Cygwin's sshd gets started before Microsoft's NFS client.
>> As the login shell spawned by sshd is it's child, it only sees what
>> was present when sshd started.
> The user credentials are wrong, probably.  Via ssh, you have the
> problems described in
> http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-setuid-overview
>
>
> Corinna
>

-- 
Dominik Strasser       | Phone:  +49 89 99013-436
OneSpin Solutions GmbH | Fax:    +49 89 99013-100
Nymphenburgerstr. 20a
80335 Muenchen         | dominik DOT strasser AT onespin-solutions DOT com
Geschaeftsfuehrung: Dr. Raik Brinkmann, Oliver Habeck
Vorsitzender des Beirats: Paul Hill
Sitz: Muenchen; Amtsgericht Muenchen HRB 139464
UstID#: DE 814413215


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

- Raw text -


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