This is the mail archive of the cygwin 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: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.35-0.1


On Feb 15 21:36, Andrey Repin wrote:
> >> By the way,
> >> getent passwd %USERNAME%
> >> return homedir correctly, but bash insist on using existing HOME even if
> >> started as login shell.
> 
> > Of course.  All shells do that.  They expect HOME to have a useful value
> > because HOME is usually set by the login process before the shell is
> > started.  And the login process, if there is any, fetches HOME from the
> > account DB.
> 
> That makes me wonder, if there's a sane way to simulate such login process
> under cygwin without asking user for name/password?
> Or unsetting global %HOME% is the only way to go?

There's no reason at all to set a global %HOME% variable for Cygwin.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: pgpNQkQsZWqNi.pgp
Description: PGP signature


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