On Wed, 2 Jul 2003, Xanana Gusmao wrote:
> Igor,
>
> > At a guess, your /etc/passwd does not contain the user you log in as
> ("foo" in your example),
>
> Wrong. foo has an entry in the passwd file.
>
> $ mkpass -l
> snip---
> bonga:unused_by_nt/2000/xp:1002:513:Xanana
> Gusmao,neptune\foo,S-
From: "Xanana Gusmao"
> My initial HOME var was:
>
> $ echo $HOME
> C:
>
> $ export HOME=/home/foo
> Now it works but I need to add this to a startup script or something.
Open /etc/profile with your favorite text editor, and at the end of the file, add
export HOME=/home/foo
cd $HOME
Best
Xanana Gusmao wrote:
My initial HOME var was:
$ echo $HOME
C:
$ export HOME=/home/foo
Now it works but I need to add this to a startup script or something.
Is your username foo?
yes
You said you use a W2K machine, so :
- Right-click on "My computer" and select "Properties"
- Go to "Advanced"
Igor,
> At a guess, your /etc/passwd does not contain the user you log in as
("foo" in your example),
Wrong. foo has an entry in the passwd file.
$ mkpass -l
snip---
bonga:unused_by_nt/2000/xp:1002:513:Xanana
Gusmao,neptune\foo,S-1-5-21-2000478354
-839522115-842925246-1002:/home/foo:/bin/bas
My initial HOME var was:
$ echo $HOME
C:
$ export HOME=/home/foo
Now it works but I need to add this to a startup script or something.
> Is your username foo?
yes
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Docume
On Mon, 30 Jun 2003, Xanana Gusmao wrote:
> I installed cygwin on W2K but this time; it doesn't chdir to my homedir (
> C:\cygwin\home\foo ) when the shell is activated. I've tried to "cd ~" but
> to no avail. How do I inform the shell about my homedir ?
>
> Thanks
> Xanana
It would have been muc
"Xanana Gusmao" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> I installed cygwin on W2K but this time; it doesn't chdir to my homedir (
> C:\cygwin\home\foo ) when the shell is activated. I've tried to "cd ~" but
> to no avail. How do I inform the shell about my homedir ?
export H
I installed cygwin on W2K but this time; it doesn't chdir to my homedir (
C:\cygwin\home\foo ) when the shell is activated. I've tried to "cd ~" but
to no avail. How do I inform the shell about my homedir ?
Thanks
Xanana
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Probl
8 matches
Mail list logo