This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: HOME set to / [Was: cygwin-1.3.16-1]


I've run into this problem as well on Windows 2000 after my upgrade yesterday.
I'm getting around it by unsetting HOME in /etc/profile (as the first line), so /etc/profile will do what it has been doing in the past (important for 1st time users on our team).

A side effect, I'm fairly certain, my Id changed as well. My home was always /home/Administrator (the user on the machine); even though I log on to a domain. 'id -un' formerly returned Administrator??? I created a symbolic link (ln -s /home/Adminstrator /home/jmarcel).

So, potentially two issues:
1) HOME is set to /;
2) Id is now that of my domain (jmarcel:unknown), and I think it was Administrator:none (which I'm less concerned with, as our machines are single user laptops/clients);

Joe

To: cygwin@cygwin.com
From: Eric Hanchrow <offby1@blarg.net>
Subject: HOME set to / [Was: cygwin-1.3.16-1]
Date: 25 Nov 2002 11:26:59 -0800
Message-ID: <87el99e9h8.fsf@blarg.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii

For what it's worth, I too had this problem on Windows 2000, but I was
able to work around it by putting

        set HOME=/home/Administrator

into my cygwin.bat.
--
PGP Fingerprint: 3E7B A3F3 96CA 8958 ACC5  C8BD 6337 0041 C01C 5276


Date: Tue, 26 Nov 2002 20:52:18 -0500
From: "Pierre A. Humblet" <pierre.humblet@ieee.org>
To: cygwin@cygwin.com
Subject: Re: HOME set to / [Was: cygwin-1.3.16-1]
Message-ID: <20021127015218.GA1087241@HPN5170X>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii

On Mon, Nov 25, 2002 at 11:26:59AM -0800, Eric Hanchrow wrote:
> For what it's worth, I too had this problem on Windows 2000, but I was
> able to work around it by putting

Is it the case that your passwd file does not contain sids, i.e. wasn't
built with mkpasswd, and does not contain either a line starting with your
Windows username?
If so, I would recommend running mkpasswd -l > /etc/passwd (backup the
passwd file first; use mkpasswd -d -l if you are a domain user),
and edit your entry as you like it.
If not so, please send me the outputs of "id" and "strace true".

Pierre

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]