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



Thank you. This information is very helpful. I will keep looking into this. I will also keep looking at 'dscl'. I will report back if I make any further progress. Thank you again for your help.

This got me interested so did some digging on my 10.5 box (my world
is still 99% 10.4 ) combined with some google. You are correct about
10.5 being different - looks like Apple deprecated the old utmp
interface (that used wtmp and lastlog).


http://developer.apple.com/documentation/Darwin/Reference/ManPages/
man5/wtmp.5.html

If I am reading things correctly, the new utmpx interface stores
stuff in /var/run/utmpx

http://developer.apple.com/documentation/Darwin/Reference/ManPages/
man5/utmpx.5.html

I didn't figure out how/when that file is rotated, though I'll admit
I only looked for about 10 minutes.
_______________________________________________
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


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.