Mail Archives: cygwin/2003/04/30/10:32:28
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 -