delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/30/10:32:28

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Wed, 30 Apr 2003 10:31:53 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Vince Hoffman <Vince DOT Hoffman AT uk DOT circle DOT com>
cc: "'sferriol'" <sylvain DOT ferriol AT imag DOT fr>, <cygwin AT cygwin DOT com>
Subject: RE: ssh doesn't like $HOME
In-Reply-To: <3500515B75D9D311948800508BA37955014BDA8A@EX-LONDON>
Message-ID: <Pine.GSO.4.44.0304301029450.25128-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

Actually, the default /etc/profile simply sets $HOME to /home/$USER.
/etc/passwd is not consulted.  Ssh (or, rather, login) uses the
/etc/passwd entry, however.
	Igor

On Wed, 30 Apr 2003, Vince Hoffman wrote:

> /etc/password contains info such as your home directory (Although setting
> $HOME will override where $HOME is set in /etc/profile,) your shell if you
> are logging in remotely (via ssh telnet etc,) it lets cygwin map guids to
> usernames and probably lots more i dont know about.
>
> > -----Original Message-----
> > From: sferriol [mailto:sylvain DOT ferriol AT imag DOT fr]
> > Sent: 30 April 2003 11:52
> > To: cygwin AT cygwin DOT com
> > Subject: Re: ssh doesn't like $HOME
> >
> > > ssh never uses the $HOME value.  It uses the home dir given
> > > in the user's
> > > /etc/passwd entry.
> > >
> > > Corinna
> > >
> > what is the use of /etc/passwd in a Win2k environment????
> >
> > sylvain

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Knowledge is an unending adventure at the edge of uncertainty.
  -- Leto II


--
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