Something is wrong.
Instagram token error.

MacKeeper Removal Tool for Munki

Posted: May 28th, 2018 | Author: | Filed under: munki | No Comments »

Can we have an honest talk about MacKeeper, it’s garbage. So bad. So so bad. When I see it in the wild now, infecting it’s stupid face into my user’s computers I just shake my head. To be fair, it’s well made and well deployed across the net. For all intensive purposes the product is a complete success, however so was the shake weight.

I wrote a script with heavy influence from previous writers on the net to kill the current version of MacKeeper. Next I took that script and dropped it into an installer sort of bash file that runs as a postinstall into unixorn’s luggage.

Simply grab the postinstall file from the following URL and after getting The Luggage into your system you could build out a pkg file for munki.

Using Munki’s nopkg to Push User Level Profiles

Posted: July 24th, 2015 | Author: | Filed under: Mac OS X, munki | Tags: | No Comments »

I recently needed to push some user level profiles, CardDAV to be specific. I use Meraki MDM but the custom mobileconfig profile would only install as a device profile. So I turned to my new munki install instead. Check out this post here if you’re not familiar with nopkg


First make sure you know the unique identifier of your profile, for an example we’ll use

First create a folder on your munki repo called profiles then copy the profile into this folder.

Use the following bash scripts in your pkginfo files to check, install, and uninstall the profile as you need

USER=`/usr/bin/who | grep console | cut -d ' ' -f1`
sudo /usr/bin/profiles -P | grep | grep $USER
if [ $? -eq 0 ]; then
exit 1
exit 0

USER=`/usr/bin/who | grep console | cut -d ' ' -f1`
/usr/bin/curl -L1 -o /tmp/profile.mobileconfig
sudo -u $USER /usr/bin/profiles -L -I -F /tmp/profile.mobileconfig
exit 0

USER=`/usr/bin/who | grep console | cut -d ' ' -f1`
/usr/bin/curl -L1 -o /tmp/profile.mobileconfig
sudo -u $USER /usr/bin/profiles -L -R -F /tmp/profile.mobileconfig
exit 0