This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: NFS/SSHD interaction


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.strasser@onespin-solutions.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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]