delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/01/22/11:35:45

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=2.9 required=5.0 tests=AWL,BAYES_50,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,KHOP_THREADED,NML_ADSP_CUSTOM_MED,SPF_NEUTRAL,URI_HEX
X-Spam-Check-By: sourceware.org
Date: Tue, 22 Jan 2013 08:35:04 -0800 (PST)
From: Yves <yoursurrogategod AT gmail DOT com>
To: cygwin AT cygwin DOT com
Message-ID: <1358872504809-95561.post@n5.nabble.com>
In-Reply-To: <50FEB840.4050607@gmail.com>
References: <1358869942988-95558 DOT post AT n5 DOT nabble DOT com> <50FEB840 DOT 4050607 AT gmail DOT com>
Subject: Re: How do I change the default home directory after I fire up cygwin?
MIME-Version: 1.0
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

Hi, thanks for your reply.

I did cat /etc/passwd.  I obfuscated certain portions of the output, all of
which are characters (no numbers, no spaces, no special characters, all
lower case):

<user name>@FOOBAR /home/<user name>/Downloads
$ cat /etc/passwd
SYSTEM:*:18:544:,S-1-5-18::
LocalService:*:19:544:U-NT AUTHORITY\LocalService,S-1-5-19::
NetworkService:*:20:544:U-NT AUTHORITY\NetworkService,S-1-5-20::
Administrators:*:544:544:,S-1-5-32-544::
TrustedInstaller:*:4294967294:4294967294:U-NT
SERVICE\TrustedInstaller,S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464::
ashvets:unused:1003:513:<user name>,U-FOOBAR\<user
name>,S-1-5-21-1225255616-1463261690-3474574673-1003:/cygdrive/c/cygwin/home/<user
name>:/bin/bash

I've set the home to /home/<user name> before, closed cygwin and opened it
again, no change.

I'd do pwd, see that I'm in /cygdrive/h, then I'd execute cd (no parameters,
just the command) and I'd be in /cygdrive/h again.  No idea why....



--
View this message in context: http://cygwin.1069669.n5.nabble.com/How-do-I-change-the-default-home-directory-after-I-fire-up-cygwin-tp95558p95561.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