delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/14/15:30:27

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
X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: NEWBIE: Problem with $Home being set to /usr/bin/%USERPROFILE%
Date: Thu, 14 Nov 2002 15:30:12 -0500
Message-ID: <BADF3C947A1BD54FBA75C70C241B0B9E90B9D4@ex02.idirect.net>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Harig, Mark A." <maharig AT idirect DOT net>
To: "Michael Caplan" <michael AT eggplant DOT ws>, <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id gAEKUQp13129

> 
> Just after upgrading to 1.3.15, when starting a Cygwin 
> session, for some
> reason Bash is assigned to the home directory /usr/bin/%USERPROFILE%
> Originally this was /home/Administrator/  I can not figure 
> out what caused
> this to change, and how to go about changing this back.  Any 
> suggestions?

1. What does the command 'id' report?  Or, 'id -un'?

2. Have you recently changed the contents of /etc/passwd?
   What are the permissions and ownership of this file?
   What are the permissions and ownership of '/etc'?

3. What bash initialization files are you using, i.e., /etc/profile,
   ~/.bashrc, ~/.bash_profile, ~/.profile?  Have you tried renaming
   those files or using the '--noprofile' and '--norc' optios?
   Have you checked their permissions and ownership?

---

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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