delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/31/13:24:08

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <00d901c0ba0f$778e8ac0$8930273f@ca.boeing.com>
From: "Michael A. Chase" <mchase AT ix DOT netcom DOT com>
To: "Sean Pollack" <sean AT giantstudios DOT com>, "cygwin" <cygwin AT cygwin DOT com>
References: <NEBBKAFFCIPFJIECAMJEIEMMCMAA DOT sean AT giantstudios DOT com>
Subject: Re: how set HOME on login?
Date: Sat, 31 Mar 2001 10:20:00 -0800
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400

Things to look for:
   What is the result from `id -un`?
   Does /home/$USER exist?
   Is the user defined in /etc/passwd?
   What are $USER and $HOME set to once bash starts?

There is code in the default /etc/profile that handles some of those issues,
but if your installation is relatively old, it might have been created
before that code was added.  The new code overrides USER, but leaves HOME
alone if it is already set.  It also includes 'cd $HOME' near the end.

--
Mac :})
Give a hobbit a fish and he'll eat fish for a day.
Give a hobbit a ring and he'll eat fish for an age.
----- Original Message -----
From: "Sean Pollack" <sean AT giantstudios DOT com>
To: "cygwin" <cygwin AT cygwin DOT com>
Sent: Friday, March 30, 2001 4:08 PM
Subject: how set HOME on login?


> I'd like to be able to goto /home/$USER instead of /home/administrator
when
> I open a cygwin shell.
>
> I setup cygwin so my $USER is now correct.



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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