JamesHartnett
asked on
whoami on cygwin
Other than the esoteric question "whoami" :)
I log in to a win2000 computer with my network domain password and then when I type "whoami" in a cygwin window it says "Administrator"
How do I get it to say my domain user name and not administrator?
I log in to a win2000 computer with my network domain password and then when I type "whoami" in a cygwin window it says "Administrator"
How do I get it to say my domain user name and not administrator?
jmiller: Cygwin is a freeware downloadable program which simulates a UNIX shell under Windows, so no, it isn't a standard command prompt.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks my prompt does say administrator. Funny I never noticed that. No I need to ask around to find out to log in as myself because the su command doesn't work.
are you getting an error RPC server unavailable when trying??
Did you ever get this solved? Just wondering :)
1) At the Logon screen, in the drop-down box, you do have your Domain name listed, not your computer name right?
2) I'm not exactly sure what you mean by cygwin window. I am assuming that you mean a command prompt window...
Have you tried using - WHOAMI /ALL
Have you tried looking at the syntax of the command using - WHOAMI /?
I hope this helps