Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Current active login session
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Current active login session



Am I missing something or can't I just check who owns /dev/console ?

http://developer.apple.com/mac/library/technotes/tn2005/tn2083.html
"The console user is the user whose GUI login session is using the console. The console device, /dev/console, is owned by the console user."

Seems simple enough...

- Antoine




On Aug 20, 2010, at 8:45 AM, Quinn The Eskimo! wrote:

>
>> If it was possible to get the answer in another manner directly from the daemon without relying on the agents, that'd be much better.
>
> Not in any well supported fashion.




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Current active login session (From: Antoine Missout <email@hidden>)
 >Re: Current active login session (From: "Quinn \"The Eskimo!\"" <email@hidden>)
 >Re: Current active login session (From: Antoine Missout <email@hidden>)
 >Re: Current active login session (From: "Quinn \"The Eskimo!\"" <email@hidden>)
 >Re: Current active login session (From: Antoine Missout <email@hidden>)
 >Re: Current active login session (From: "Quinn \"The Eskimo!\"" <email@hidden>)
 >Re: Current active login session (From: Antoine Missout <email@hidden>)
 >Re: Current active login session (From: Dave Keck <email@hidden>)
 >Re: Current active login session (From: Antoine Missout <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.