Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: "Sean Pollack" , "cygwin" References: Subject: Re: how set HOME on login? Date: Sat, 31 Mar 2001 10:20:00 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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" To: "cygwin" 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