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:[EMAIL PROTECTED] > http://up.to/alexvn > ================== -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`' -. ;-;;,_ [EMAIL PROTECTED] |,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/