delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/05/26/10:57:02

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: "Prentis Brooks" <prentis AT aol DOT net>
To: "Jason Tishler" <Jason DOT Tishler AT dothill DOT com>
Cc: "cygwin" <cygwin AT sourceware DOT cygnus DOT com>
Subject: RE: FW: Can not config sshd
Date: Fri, 26 May 2000 09:07:47 -0400
Message-ID: <NEBBLEPLMLJEEFHAGMDMOECGCAAA.prentis@aol.net>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
In-Reply-To: <392E7480.4CF744B1@dothill.com>
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Importance: Normal

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

- Raw text -


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