delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/24/18:50:29

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 <anrdaemon AT freemail DOT ru>
Reply-To: Andrey Repin <cygwin AT cygwin DOT com>
Message-ID: <947764390.20120225034442@mtu-net.ru>
To: Andrew DeFaria <Andrew AT DeFaria DOT com>, cygwin AT cygwin DOT 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 AT dough DOT gmane DOT org>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019