delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
Message-ID: | <4989AFD7505BD611961B0002A5DA3E740382BE37@NNHML2> |
From: | "Hughes, Bill" <Bill DOT Hughes AT cox DOT co DOT uk> |
To: | "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com> |
Subject: | RE: home directory not created in cygwin installation |
Date: | Wed, 1 Oct 2003 17:06:27 +0100 |
MIME-Version: | 1.0 |
Sent: 01 October 2003 16:16 From: Igor Pechtchanski > On Wed, 1 Oct 2003, Hughes, Bill wrote: > > Furthermore could $HOME be defaulted to \home\'current_user' if not > > explicitly set? >It already is, except it's "/home/$USER", not "\home\$USER" (read up on >POSIX vs Win32 paths in Cygwin if you don't see the difference). Doh! (Hits head on wall) Of course - I've been using an NT command prompt all afternoon and can't type straight. > > I can also see a case for using /etc/passwd if it exists whether, or not > > ntsec is used or running on Win9x. > > You can have an /etc/passwd even with nontsec... The only problem is that > there is no way that I know of to check it for validity... If you're using nontsec does it matter if it's invalid? You're then only using it to look up the home directory of the current user. Of course if it's just missing then you start playing with $HOME instead. -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |