Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <4.3.2.7.2.20021203083224.02308bc0@dogwood.cisco.com> X-Sender: jmarcel AT dogwood DOT cisco DOT com Date: Tue, 03 Dec 2002 09:09:21 -0500 To: cygwin AT cygwin DOT com From: Joseph Marcel Subject: Re: HOME set to / [Was: cygwin-1.3.16-1] In-Reply-To: <1038869136.5722.ezmlm@cygwin.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed 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 AT cygwin DOT com >From: Eric Hanchrow >Subject: HOME set to / [Was: cygwin-1.3.16-1] >Date: 25 Nov 2002 11:26:59 -0800 >Message-ID: <87el99e9h8 DOT fsf AT blarg DOT 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" >To: cygwin AT cygwin DOT com >Subject: Re: HOME set to / [Was: cygwin-1.3.16-1] >Message-ID: <20021127015218 DOT GA1087241 AT 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/