delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/10/01/00:42:15

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <47007A91.9E829D3C@dessent.net>
Date: Sun, 30 Sep 2007 21:41:53 -0700
From: Brian Dessent <brian AT dessent DOT net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Home directory
References: <fdpta4$uev$1 AT sea DOT gmane DOT org>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Gmane User wrote:

> If I were make c:/cygwin/home/UserName my home directory, what is the best way?
>  Ssh only considers /etc/passwd, so it seems best to manually set it there,
> though I'd have to manually fix it each time I recreate it.  It still seems to
> be the best way, but opinions are welcome on "good practice".

Well you already said it -- sshd only considers the entry in passwd so
that's pretty much the only option if you plan to connect remotely. 
However, you should use a POSIX path like /home/UserName not
c:/whatever.

Brian

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

- Raw text -


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