X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=2.7 required=5.0	tests=AWL,BAYES_40,FREEMAIL_FROM,KAM_THEBAT,TW_MK
X-Spam-Check-By: sourceware.org
Date: Sat, 25 Feb 2012 03:44:42 +0400
From: Andrey Repin <anrdaemon@freemail.ru>
Reply-To: Andrey Repin <cygwin@cygwin.com>
Message-ID: <947764390.20120225034442@mtu-net.ru>
To: Andrew DeFaria <Andrew@DeFaria.com>, cygwin@cygwin.com
Subject: Re: How and where is HOME set from /etc/passwd?
In-Reply-To: <ji8vmq$s7j$1@dough.gmane.org>
References: <ji8vmq$s7j$1@dough.gmane.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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

