X-Recipient: archive-cygwin AT delorie DOT 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 Reply-To: Andrey Repin Message-ID: <947764390.20120225034442@mtu-net.ru> To: Andrew DeFaria , cygwin AT cygwin DOT com Subject: Re: How and where is HOME set from /etc/passwd? In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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 AT freemail DOT 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