Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Sinergi

macrumors newbie
Original poster
May 8, 2011
17
0
Hi,

I am wondering if it's possible to generate some sort of report to find out what users have failed to install the Java security patch Apple has released through its Software Update?
 
Hi,

I am wondering if it's possible to generate some sort of report to find out what users have failed to install the Java security patch Apple has released through its Software Update?

What is your management mechanism?

Package receipts would be the best way.
 
I am using ARD to manage most of the simple reporting tasks but was quite unsure how to generate a report for outlinning the users that have/haven't installed the latests Java updates.
 
Not sure about ARD since its a pain in the butt. You could check the following location: /Library/Receipts for a package receipt or you could awk or cut the results from the DB XML in the same location.
 
I am using ARD to manage most of the simple reporting tasks but was quite unsure how to generate a report for outlinning the users that have/haven't installed the latests Java updates.

You could check what 'java -version' returns? It should be 1.6.0_31 for up-to-date installations, and less for outdated versions.
 
Good idea burne although trying to generate a report for an individual user seems to take longer than 5-10mins for some reason!

@Mattie, Do you have a snippets of unix that would help pull out results from the installHistory.plist?
 
Good idea burne although trying to generate a report for an individual user seems to take longer than 5-10mins for some reason!

@Mattie, Do you have a snippets of unix that would help pull out results from the installHistory.plist?

Ill work up some code when I get some time. Doing Lion deployments all day :eek:
 
Taking your advice, I used grep to search the installhistory file to search if Java 8 (for SL) and Java 2012-003 (for Lion) was installed.

fgrep -B2 "<string>Java" /Library/Receipts/InstallHistory.plist | fgrep -v "<key>"
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.