How to download quickadd.pkg via command line.

tomlister
New Contributor

I've done a dodgy reverse engineer of the /enroll page, and implemented some code in golang to download the quickadd.pkg bound to a username, however this doesn't work. Is there anyway to download a username bound quickadd.pkg via the command line?

Thanks,

Tom.

5 REPLIES 5

gachowski
Valued Contributor II

Tom,
I am 100% is a big big post/thread here about this so give it a good search it's a few years old... However with the MDM profile needing to be approved in the macOS now I am not 100% sure that this approach is the right way anymore.. The beta of 10.3 does some cool stuff to solve the MDM profile approval issue.

C

gachowski
Valued Contributor II

https://www.jamf.com/jamf-nation/discussions/12089/download-the-quickadd-using-curl-with-jss-9-52

Rokas
New Contributor III

@gachowski

Understand that it will be of topic, but could you comment what special JAMF 10.3 can do with user approval MDM? As from release notes I didn't understand what it can do except it can report on how it was enrolled.

Rokas
New Contributor III

@gachowski

Understand that it will be of topic, but could you comment what special JAMF 10.3 can do with user approval MDM? As from release notes I didn't understand what it can do except it can report on how it was enrolled.

gachowski
Valued Contributor II

@Rokas

With HS .4 the user must manually click/approve the MDM profile unless the machine is enroll with DEP. JP 10.3 doesn't install a quick add package on HS machines, it required the install of two profiles one cert and one MDM.. then it installs the jamf binary. Installing the MDM profile meets the "manually click/approve the MDM profile".

The "user approval of the MDM profile" is now the road block for most admins, unless they follow Apple's and Jamf guidelines.

C