Mail Archives: cygwin/2000/05/26/10:54:00.1
Found it... ok all, tell me what you all think about this and how to handle
it:
This user needs to have his home directory pointing at /, however, as Jason
pointed out, if I set the user's home dir to /, when apps look at it, they
add a second /, creating // which is interpreted as a network share. This
breaks everything. What I did was set the user's home to /c/cygwin (which
is where / is mounted), and the problems went away, I have RSA and shost
authentication working. Now, I guess my next question would be, is this
prefered behavior or is it being corrected, since this looks like a cygwin
1.1.1 issue?
Thanks for all the help!!!
-----Original Message-----
From: cygwin-owner AT sourceware DOT cygnus DOT com
[mailto:cygwin-owner AT sourceware DOT cygnus DOT com]On Behalf Of Prentis Brooks
Sent: Friday, May 26, 2000 9:08 AM
To: Jason Tishler
Cc: cygwin
Subject: RE: FW: Can not config sshd
I have not defined this user's home dir in the environment, only in
/etc/passwd.... if there is no home dir defined in ENV, does it default to
//?
-----Original Message-----
From: Jason Tishler [mailto:Jason DOT Tishler AT dothill DOT com]
Sent: Friday, May 26, 2000 8:57 AM
To: Prentis Brooks
Cc: cygwin
Subject: Re: FW: Can not config sshd
Prentis,
Prentis Brooks wrote:
> What I have found is that since this user has his home dir as / when
openssh
> tries to create the /.ssh directory it does so with the following
notation:
> //.ssh which fails.
I'm not sure whether or not this is relevant but I found a HOME
directory anomaly in 1.1.1 that did not exist in 1.1.0 and earlier.
This may be related to your problem or may be not...
Given that I mount H: as /home/jt, if I set HOME=H:\ via the control
panel, then within Cygwin (eg, bash) my HOME becomes /home/jt/ (note
the extra slash at the end). If I now set HOME=H: (note no backslash),
then within Cygwin my HOME becomes /home/jt.
In your case since HOME is /, may be due to the above problem you are
getting an extra slash too. Hence, your HOME within Cygwin is becoming
//. The // notation is interpreted by Cygwin as a network share (or a
drive letter). So for example, when openssh tries to access //.ssh,
it can't find a share called ".ssh" and fails.
Hope the above helps and sorry if it is just a distraction to the real
problem.
Jason
--
Jason Tishler
Director, Software Engineering Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corporation Fax: +1 (732) 264-8798
82 Bethany Road, Suite 7 Email: Jason DOT Tishler AT dothill DOT com
Hazlet, NJ 07730 USA WWW: http://www.dothill.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
- Raw text -