Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a script to write the JSS Computer ID to a Mac's file system #9

Open
YesThatAllen opened this issue Nov 29, 2014 · 0 comments
Open

Comments

@YesThatAllen
Copy link
Member

Watchman Monitoring creates a URL to link to a computer's record in its JSS.

We're currently using the format:
[jamf server]:[port]/computers.html?id=[jss computer id]

Given that the computer id isn't on the filesystem, we need to run a [lengthy] recon on first run to learn the right ID.

An alternate URL, such as a search by serial number, might be as-effective, but to continue this path with a recon, we'd have to have the ID written to the filesystem.

The goal of this issue is to find a script which could be made a part of a regular JSS checkin that runs this command on an enrolled computer:

defaults write /Library/MonitoringClient/PluginSupport/check_jamf_information_settings JSS_ComputerID "###" (where ### is the Computer ID)

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

No branches or pull requests

2 participants