* Prompt : I have no name!
@ 2002-09-22 11:14 Alex Vinokur
2002-09-22 20:42 ` Igor Pechtchanski
0 siblings, 1 reply; 2+ messages in thread
From: Alex Vinokur @ 2002-09-22 11:14 UTC (permalink / raw)
To: Cygwin Mailing List
==============
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/Administ
rator:/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
==================
--
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Prompt : I have no name!
2002-09-22 11:14 Prompt : I have no name! Alex Vinokur
@ 2002-09-22 20:42 ` Igor Pechtchanski
0 siblings, 0 replies; 2+ messages in thread
From: Igor Pechtchanski @ 2002-09-22 20:42 UTC (permalink / raw)
To: Alex Vinokur; +Cc: cygwin
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-09-23 2:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-22 11:14 Prompt : I have no name! Alex Vinokur
2002-09-22 20:42 ` Igor Pechtchanski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).