Giter VIP home page Giter VIP logo

jamf-connect-installer-package's Introduction

jamf-connect-prestage-package

A postinstaller script method of installing the latest version of Jamf Connect Login and appropriate matching Verify or Sync

Note: While this installer is designed to facilitate prestage enrollment packages, it can also be used with a standard policy in Jamf Pro to install the latest version of Connect.

What does it do:

Download latest version of Jamf Connect from the public latest version URL
Convert the DMG to a CDR to get rid of the license prompt
Get the latest version numbers from the file names in the DMG
If installer file name contains the word "Okta" in any combo of upper/lower case,
	Install Jamf Connect Login, Jamf Connect Sync, run an auth changer to enable
	Okta version of Login AND RunScript AND Notify mechanism
If installer file name contains the word "Google" in any combo of upper/lower case,
	Install Jamf Connect Login, run authchanger to enable OIDC / RunScript / Notify
Else, Install Jamf Connect Login, Jamf Connect Verify, run Authchanger to enable
	OIDC / RunScript / Notify
Unmount CDR
Delete downloaded tmp files
If the currently logged in user is _mbsetupuser OR root, that means we're at the 
	login screen or still inside Setup Assistant.  In that case, force the login
	window to reload - perfect for slow network connections and zero touch configuration.

How it is used:

Create a package with Jamf Composer (or similar application). You can include any sort of extras in the package like background images, branding logos, RunScript files, etc.

Include the script as a postinstaller script. Be sure to change the authchanger commands to fit your needs. You can read more about authchanger at: https://docs.jamf.com/jamf-connect/administrator-guide/authchanger.html

Authchanger can do things like enable Demobilization of network accounts, enabling the Notify mechanism to show users what you're doing to the user's machine before dropping them into Finder, or use the RunScript mechanism to call Jamf Pro policies for a zero touch configuration.

What is included:

postinstaller.sh - Use this script as the postinstaller script jamf_dep.sh - A sample script used with the RunScript mechanism and the Notify mechanism to call Jamf Pro policies after the user has successfully logged in and Jamf Connect has created a user account. ComposerSample.png - A sample image to show how to use Composer to make the package file.

jamf-connect-installer-package's People

Contributors

sean-rabbitt avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.