Is there an equivalent to the unix 'last' command on windows XP? What
I want to see is who logged in and at what time, and if possible
whether they logged in remotely or locally on the box.

I looked around the event viewer, and was very surpised that something
like this didn't jump out. Its got to be a fairly common activity to
do, so is there a tool builtin to XP to do this or would I need to
write my own?

Thanks much,