This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Home directory
- From: Brian Dessent <brian at dessent dot net>
- To: cygwin at cygwin dot com
- Date: Sun, 30 Sep 2007 21:41:53 -0700
- Subject: Re: Home directory
- References: <fdpta4$uev$1@sea.gmane.org>
- Reply-to: 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/