This is the mail archive of the
mailing list for the Cygwin project.
RE: HOME set to / [Was: cygwin-1.3.16-1]
- From: "John Morrison" <john dot r dot morrison at ntlworld dot com>
- To: "Joseph Marcel" <jmarcel at cisco dot com>,<cygwin at cygwin dot com>
- Date: Wed, 4 Dec 2002 09:14:28 -0000
- Subject: RE: HOME set to / [Was: cygwin-1.3.16-1]
> From: Joseph Marcel
> I've run into this problem as well on Windows 2000 after my
> upgrade yesterday.
Upgrade or clean install?
> 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);
The way this is set has changed and *should* work ootb with a clean
The easiest way (I believe) atm is to...
$ cp /etc/group /etc/group.old
$ cp /etc/passwd /etc/passwd.old
this should recreate /etc/group and /etc/passwd (check before
closing!) Then close and restart cygwin. You should now
be your domain user *not* your local Admin.
Also note that /etc/profile has changed, the new version
is kept as /etc/profile.default and should not overwrite any
The functionality has changed slightly. It doesn't run
~/.bashrc by default, as per specs it runs ~/.bash_profile
which should check and, if appropriate, run ~/.bashrc
Feel free to change how this works - it is your system
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html