From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10476 invoked by alias); 23 Sep 2002 02:58:08 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 10466 invoked from network); 23 Sep 2002 02:58:07 -0000 Received: from unknown (HELO slinky.cs.nyu.edu) (128.122.20.14) by sources.redhat.com with SMTP; 23 Sep 2002 02:58:07 -0000 Received: from localhost (pechtcha@localhost) by slinky.cs.nyu.edu (8.11.6+Sun/8.11.6) with ESMTP id g8N2w5k24673; Sun, 22 Sep 2002 22:58:06 -0400 (EDT) X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Sun, 22 Sep 2002 20:42:00 -0000 From: Igor Pechtchanski Reply-To: cygwin@cygwin.com To: Alex Vinokur cc: cygwin@cygwin.com Subject: Re: Prompt : I have no name! In-Reply-To: <001201c26263$fc670710$052296d4@5at8s8cqeex4qhi> Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2002-09/txt/msg01101.txt.bz2 Alex, The /etc/passwd looks ok (assuming you have no users other than the adminstrator). Is it readable by the administrator? This could have happened if you've introduced ntsec into your CYGWIN environment variable, and your /etc/passwd wasn't readable by the administrator. Also, the `pwd` looks wrong, what's the output of mount on your machine? Another possibility is if you've lost your registry settings and SIDs, which could happen if you've reinstalled Win2k. Igor On Sun, 22 Sep 2002, Alex Vinokur wrote: > ============== > Windows 2000 > CYGWIN_NT_5.0 > ============== > > Something happened to CYGWIN on my machine. > > > ====== cygwin.bat Invocation : BEGIN ====== > > I have no name!@5AT8S8CQEEX4QHI ~ ### it was Administrator@5AT8S8CQEEX4QHI ~ > $ > > $ whoami > whoami: cannot find username for UID 500 > > > $pwd > /cygdrive/c/cygwin/usr ### it was : /usr > > > $ echo $PATH > /usr/local/bin:/usr/bin:/bin: <.....> > > ====== cygwin.bat Invocation : END ======== > > > > ====== etc/passwd : BEGIN ====== > > Everyone:*:0:0:,S-1-1-0:: > SYSTEM:*:18:18:,S-1-5-18:: > Administrators:*:544:544:,S-1-5-32-544:: > Administrator:unused_by_nt/2000/xp:500:513:U-5AT8S8CQEEX4QHI\Administrator,S-1-5-21-602162358-839522115-547660867-500:/home/Administrator:/bin/bash > Guest:unused_by_nt/2000/xp:501:513:U-5AT8S8CQEEX4QHI\Guest,S-1-5-21-602162358-839522115-547660867-501:/home/Guest:/bin/bash > > ====== etc/passwd : END ======== > > > > ====== cygwin.bat : BEGIN ====== > > @echo off > > C: > chdir C:\cygwin\bin > > bash --login -i > > ====== cygwin.bat : END ======== > > > Have I changed/removed something ? > > > ================== > Alex Vinokur > mailto:alexvn@go.to > http://up.to/alexvn > ================== -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51 -- 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/