Skip to content

Instantly share code, notes, and snippets.

@genomewalker
Forked from a7ul/jamf.md
Created November 3, 2022 19:51
Show Gist options
  • Save genomewalker/4d414aa2a8308b382496cf51b04690cb to your computer and use it in GitHub Desktop.
Save genomewalker/4d414aa2a8308b382496cf51b04690cb 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