public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: how set HOME on login?
@ 2001-04-02  6:52 Glen Coakley
  0 siblings, 0 replies; 3+ messages in thread
From: Glen Coakley @ 2001-04-02  6:52 UTC (permalink / raw)
  To: cygwin

I have the same 'problem' though it doesn't bother me. But, to add some more
information, my account does have administrator priviledges on this machine
(but not the domain).

________________________________
Glen Coakley, Sr. Software Engineer
MQSoftware Inc., (763) 543-4845
Have you ever wonder what happens when you run "rm -rf / " but been afraid
to try it?


> -----Original Message-----
> From: Michael A. Chase [ mailto:mchase@ix.netcom.com ]
> Sent: Saturday, March 31, 2001 12:20 PM
> To: Sean Pollack; cygwin
> Subject: Re: how set HOME on login?
> 
> 
> 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@giantstudios.com>
> To: "cygwin" <cygwin@cygwin.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
> 

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: how set HOME on login?
  2001-03-30 16:13 Sean Pollack
@ 2001-03-31 10:23 ` Michael A. Chase
  0 siblings, 0 replies; 3+ messages in thread
From: Michael A. Chase @ 2001-03-31 10:23 UTC (permalink / raw)
  To: Sean Pollack, cygwin

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@giantstudios.com>
To: "cygwin" <cygwin@cygwin.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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* how set HOME on login?
@ 2001-03-30 16:13 Sean Pollack
  2001-03-31 10:23 ` Michael A. Chase
  0 siblings, 1 reply; 3+ messages in thread
From: Sean Pollack @ 2001-03-30 16:13 UTC (permalink / raw)
  To: cygwin

Simple question that I know must have an easy solution.

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.

Thanks,
Sean


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-04-02  6:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-02  6:52 how set HOME on login? Glen Coakley
  -- strict thread matches above, loose matches on Subject: below --
2001-03-30 16:13 Sean Pollack
2001-03-31 10:23 ` Michael A. Chase

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).