Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Currently Active (foreground) Console Session



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


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Client-management mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/client-management/email@hidden

This email sent to email@hidden
References: 
 >Currently Active (foreground) Console Session (From: henri <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.