The command 'last' should do the trick, since it lists both the user
and what type of session (console or ttys).
Tom "Macintosh Doctor" Johnson
email@hidden
On Jan 17, 2008, at 22:46, henri wrote:
I would like to determine (from the command line) the active
console user who logged in via the login window.
The commands 'who' and 'w' produce the closest output to what I am
after. Is there a command which will output the user name of the
console session which is in the foreground?
I did have a quick hunt though the ARD commands. I guess there is
such a command. Any assistance would be great!
Thank you.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Client-management mailing list (Client-
email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/client-management/palantir%
40purdue.edu