public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* How and where is HOME set from /etc/passwd?
@ 2012-02-24 21:35 Andrew DeFaria
  2012-02-24 23:50 ` Andrey Repin
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew DeFaria @ 2012-02-24 21:35 UTC (permalink / raw)
  To: cygwin

According to http://cygwin.com/faq/faq.setup.html#faq.setup.home if not 
set in the Windows environment then the entry in /etc/password should be 
used. Where is this accomplished? Because I'm not seeing it happen. 
Instead /etc/profile is invoked and HOME is set to nothing and 
/etc/profile tries to create a directory of no name and fails.
-- 
Andrew DeFaria <http://defaria.com>
If a pig loses its voice, is it disgruntled?


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How and where is HOME set from /etc/passwd?
  2012-02-24 21:35 How and where is HOME set from /etc/passwd? Andrew DeFaria
@ 2012-02-24 23:50 ` Andrey Repin
  0 siblings, 0 replies; 2+ messages in thread
From: Andrey Repin @ 2012-02-24 23:50 UTC (permalink / raw)
  To: Andrew DeFaria, cygwin

Greetings, Andrew DeFaria!

> According to http://cygwin.com/faq/faq.setup.html#faq.setup.home if not 
> set in the Windows environment then the entry in /etc/password should be 
> used. Where is this accomplished? Because I'm not seeing it happen. 
> Instead /etc/profile is invoked and HOME is set to nothing and 
> /etc/profile tries to create a directory of no name and fails.

Use mkpasswd (and mkgroup, as well) to generate proper /etc/passwd and
/etc/group


--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 25.02.2012, <03:43>

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-02-24 23:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-24 21:35 How and where is HOME set from /etc/passwd? Andrew DeFaria
2012-02-24 23:50 ` Andrey Repin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).