This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: ssh doesn't like $HOME


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.ferriol@imag.fr]
> > Sent: 30 April 2003 11:52
> > To: cygwin@cygwin.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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]