delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/11/27/07:31:17

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <32877389.post@talk.nabble.com>
Date: Sun, 27 Nov 2011 04:30:40 -0800 (PST)
From: Marc Girod <marc DOT girod AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Installation problems with home path and sshd
In-Reply-To: <32877343.post@talk.nabble.com>
MIME-Version: 1.0
References: <32877343 DOT post AT talk DOT nabble DOT com>
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


gabier wrote:
> 
> 1. The home path was not created, there was nothing in the home directory.
> The mintty console opens in /cygdrive/c/Users/username/Desktop/FREENAS,
> which is merely the link to the icon used to open the console. I created a
> home user directory and now if I enter "cd ~/" I am in it. But mintty
> still opens in its own link directory.
> 
Others may answer better than me, but... I think there are two sources for
the definition of home:
the HOME environment variable, and the entry in /etc/passwd.
I have myself:

~> id
uid=1000(marc) gid=513(None) groups=513(None),545(Users)
~> grep marc /etc/passwd
marc:unused:1000:513:U-sartre\marc,S-1-5-21-1848142070-2449128644-2827604881-1000:/home/marc:/bin/bash
~> echo $HOME
/home/marc

Marc

-- 
View this message in context: http://old.nabble.com/Installation-problems-with-home-path-and-sshd-tp32877343p32877389.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
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