delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/29/07:14:55

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Wed, 29 Dec 2004 14:14:24 +0200
Message-Id: <200412291214.iBTCEOB6004636@beta.mvs.co.il>
From: "Ehud Karni" <ehud AT unix DOT mvs DOT co DOT il>
To: pierre DOT humblet AT ieee DOT org
Cc: cygwin AT cygwin DOT com, " Ben Wing" <ben AT 666 DOT com>,
" Stephen J. Turnbull" <stephen AT xemacs DOT org>
Subject: Re: Ssh ignores $HOME
In-reply-to: <20041229033942.GA624267@hpn5170> (message from Pierre A. Humblet on Tue, 28 Dec 2004 22:39:42 -0500)
Organization: Mivtach-Simon Insurance agencies
Reply-to: ehud AT unix DOT mvs DOT co DOT il
References: <y9lfz1qq13x DOT fsf AT sams DOT informatik DOT uni-tuebingen DOT de> <00e801c4ed55$f82628f0$220110ac AT neeeeeee2> <20041229033942 DOT GA624267 AT hpn5170>
MIME-Version: 1.0
X-IsSubscribed: yes

On Tue, 28 Dec 2004 22:39:42 -0500, Pierre A. Humblet <pierre DOT humblet AT ieee DOT org> wrote:
>
> On Tue, Dec 28, 2004 at 08:24:55PM -0700, Ben Wing wrote:
> >
> > The problem is that ..... ssh is ignoring $HOME (despite its documentation)
> > and arbitrarily looking in /home/$USERNAME.  .....
>
> See last sentence in
> http://cygwin.com/faq/faq_2.html#SEC18

This last sentence needs a correction: If there is no /etc/passwd ssh
will use the supplied$ HOME.

I would replace the faq sentence with: "Note that ssh disregard `HOME'
if /etc/passwd does exist."

I have checked this situation many times, as I make a minimal ssh
distribution (that can be run from a CD/flash) that run on machines
where Cygwin is not installed (and consequently - no mounts and
no /etc/passwd).

Ehud.


--
 Ehud Karni           Tel: +972-3-7966-561  /"\
 Mivtach - Simon      Fax: +972-3-7966-667  \ /  ASCII Ribbon Campaign
 Insurance agencies   (USA) voice mail and   X   Against   HTML   Mail
 http://www.mvs.co.il  FAX:  1-815-5509341  / \
 GnuPG: 98EA398D <http://www.keyserver.net/>    Better Safe Than Sorry

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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