Link to home
Start Free TrialLog in
Avatar of JamesHartnett
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?
Avatar of Joel Miller
Joel Miller
Flag of United States of America image

Basic questions first...
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
Avatar of pjknibbs
pjknibbs

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
Avatar of Joel Miller
Joel Miller
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of JamesHartnett

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 :)