Skip to main content
Question

jamf and jamfHelper hidden functions


bpavlov
Forum|alt.badge.img+18
  • Esteemed Contributor
  • 1206 replies

I'm noticing that on first boot the postinstall.sh that is generated by Casper Imaging runs the following as the first line which is supposed to lock down the login window:

/usr/sbin/jamf launchJAMFHelper -path '/Library/Application Support/JAMF/bin/jamfHelper.app/

Then I realized this isn't documented anywhere. Has anyone documented some of the flags/options available for the jamf binary and jamfHelper.
Or does one have to try and tear open the binary to see what options are available?

6 replies

kitzy
Forum|alt.badge.img+14
  • Valued Contributor
  • 167 replies
  • July 29, 2015

@rtrouton has a pretty good writeup on some of the hidden features here.


Forum|alt.badge.img+17

@bpavlov try this out:

jamf binary documented flags

jamf help

jamfHelper documented flags

/Library/Application Support/JAMF/bin/jamfHelper.app/Contents/MacOS/jamfHelper -help

mm2270
Forum|alt.badge.img+16
  • Legendary Contributor
  • 7880 replies
  • July 29, 2015

Yes, but... jamf help doesn't specifically list the launchJAMFHelper command anywhere that I can see. I think that was the point of the original post.


bpavlov
Forum|alt.badge.img+18
  • Author
  • Esteemed Contributor
  • 1206 replies
  • July 30, 2015

@kitzy A little interesting, but still not everything it seems as it basically covers what you get when running jamf help.

@Grant.Klingbeil Thanks, I tried that already with jamfHelper too, but still doesn't point out that command I just gave.

Anyways, it seems clear that there are some other functions in the jamf binary that are definitely hidden. Perhaps intentionally or unintentionally.

Paging @john.miller: could you or another JAMFer share some further insight on hidden functions in jamf or jamfHelper? It would be great if everything that could be done with both tools were documented. I know I've read some threads in the past where jamfHelper had some options that weren't documented (wish I could find them now).


Forum|alt.badge.img+9
  • Contributor
  • 94 replies
  • July 31, 2015

There is also a:

jamf killJAMFHelper

Doesn't seem like there is any arguments after launchJAMFHelper, no matter what it just launches the generic full screen.


bpavlov
Forum|alt.badge.img+18
  • Author
  • Esteemed Contributor
  • 1206 replies
  • January 26, 2016

This is hidden:
sudo jamf removemdmprofile
will remove the MDM profile

This is not hidden, but helpful:
sudo jamf mdm
will re-enable MDM

@amanda.wulff Would it be possible to add the information in this discussion to the "jamf help" page?


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings