Skip to content

Instantly share code, notes, and snippets.

@drew-wallace
Forked from a7ul/jamf.md
Created August 27, 2019 18:53
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drew-wallace/9bf4dee923476899889e8bc6a25e34f4 to your computer and use it in GitHub Desktop.
Save drew-wallace/9bf4dee923476899889e8bc6a25e34f4 to your computer and use it in GitHub Desktop.
removing all restrictions on jamf managed macos device - Provided you have root access.

REMOVE JAMF RESTRICTIONS ON MAC

REMOVE ONLY RESTRICTIONS

sudo jamf removeMDMProfile removes all restrictions

sudo jamf manage brings back all restrictions and profiles

REMOVE ALL RESTRICTIONS AND DISABLE JAMF BINARIES WHILE KEEPING YOUR ACCESS TO VPN AND OTHER SERVICES

sudo jamf removeMDMProfile removes all restrictions

cd /usr/local/jamf/ this is where jamf binary lives

mkdir backup

mv jamf jamfAgent backup/ keeping a backup of binaries if something goes wrong

Now you need to create this file at /usr/local/jamf/jamf

Add the following content

#!/bin/sh
echo 'dummy' > /dev/null

finally give it the permission

sudo chmod a+x /usr/local/jamf/jamf

Thats it you are done!

restart your laptop and you will no longer be tracked and no restrictions but you will have access to all vpn services

Incase you want to go back just restore original binaries and do

sudo jamf manage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment