Skip to content

Some stuff to facilitate enrollment, major system update and full erase for non-admin users.

Notifications You must be signed in to change notification settings

Darkomen78/Enrollme-UpdateMe-EraseMe

Repository files navigation

EnrollMe, UpdateMe and EraseMe

Some stuff to facilitate enrollment, major system update and full erase for non-admin users.

Prerequises

  • Hello-IT functionals parameters with the key allow subdomains to true are mandatory. See Wiki here.
  • A working Munki installation is optional. More infos here.
  • Latest release for erase-install package file can be found here.
  • Packages if you want to make custom installs or add pkg files in EraseMe.

Usage & Tips

You can split these functions into different items for Munki. EraseMe must be an optional install for self-service or scoped on "wipeable" computer only.
The IT folder can be relocated (change ITFOLDER variable in both post-install scripts), but beware of the folder access confidential limitation.
Warning ! These tools can easily destroy all data on your computer, please test them and understand how it's work before use.

Packages content

EnrollMe package need these files :

  • /etc/sudoers.d/com-github-darkomen78-enrollme-sudoers
  • /Users/Shared/IT/enrollme/com.github.ygini.Hello-IT.Enrollme.plist
  • /Users/Shared/IT/enrollme/enrollme.sh
  • /Library/Application Support/com.github.ygini.hello-it/CustomScripts/com.github.darkomen78.hello-it.enrollme.sh
  • As a post-install script : /scripts/postinstall_enrollme

UpdateMe package need these files :

  • /etc/sudoers.d/com-github-darkomen78-updateme-sudoers
  • /Users/Shared/IT/update/com.github.ygini.Hello-IT.updateme.plist
  • /Library/Management/erase-install/erase-install.sh
  • /Library/Application Support/com.github.ygini.hello-it/CustomScripts/com.github.darkomen78.hello-it.updateme.sh
  • As a post-install script : /scripts/postinstall_updateme

EraseMe package need these files :

  • /etc/sudoers.d/com-github-darkomen78-eraseme-sudoers
  • /Users/Shared/IT/erase/com.github.ygini.Hello-IT.eraseme
  • /Library/Management/erase-install/erase-install.sh
  • /Library/Application Support/com.github.ygini.hello-it/CustomScripts/com.github.darkomen78.hello-it.eraseme.sh
  • As a post-install script : /scripts/postinstall_eraseme
    Optional : you can add some .pkg files in /Users/Shared/IT/erase/pkg/ folder for auto-installation after the macOS reinstallation.

About

Some stuff to facilitate enrollment, major system update and full erase for non-admin users.

Resources

Stars

Watchers

Forks

Languages