Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Reply-To: cygwin AT cygwin DOT com To: Vince Hoffman cc: "'sferriol'" , Subject: RE: ssh doesn't like $HOME In-Reply-To: <3500515B75D9D311948800508BA37955014BDA8A@EX-LONDON> Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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/