Home > Casper, CasperCheck, Scripting > Updated CasperCheck now available

Updated CasperCheck now available

JAMF announced today that, due to changes that are coming in OS X 10.11, Casper’s jamf binary will be moving its location in a future release of Casper. For those not familiar with Casper, the jamf binary is the agent software which Casper installs on Macs in order to manage them.

Update – 7-30-2015: JAMF clarified that the new location is going to be /usr/local/bin/jamf, instead of /usr/local/jamf as I originally understood it to be. I’m updating this post and CasperCheck with the new path information.

Current location:


Future location:


From today’s announcement, it also appears that the jamf binary will not be moving on all versions of OS X:

Mac OS X 10.5.x – 10.6: The jamf binary will be staying in /usr/sbin/
Mac OS X 10.7.x and later: The jamf binary will be moving to /usr/local/bin

Now that this information is public, I’m releasing an update to CasperCheck that should be able to handle checking for the Casper agent in both its current and its future locations. For more information, see below the jump.

The change is a new function in CasperCheck named CheckBinary, which will first try to locate the current location of the jamf binary by running the following command:

/usr/bin/which jamf

If the jamf binary can’t be located that way, both /usr/sbin and /usr/local/bin are checked to see if the jamf binary is located in either of those directories.

The updated script is available below. It is also available on CasperCheck’s GitHub repo:


Categories: Casper, CasperCheck, Scripting
  1. roychean
    July 30, 2015 at 4:49 am

    Thanks for the update , greatly appreciated.

  2. Michael
    July 30, 2015 at 6:08 am

    why /usr/local/jamf and not /usr/local/sbin/jamf ?

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: