univ-of-utah-marriott-library-apple / disable_sip

Licence: other
This script is used in the recovery partition to automatically disable SIP.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to disable sip

sudoers manager
A standalone Python script to help administrators manage their sudoers file.
Stars: ✭ 28 (+7.69%)
Mutual labels:  mac, macadmin, macadmins
LAPSforMac
Local Administrator Password Solution for Mac
Stars: ✭ 29 (+11.54%)
Mutual labels:  mac, macadmin, macadmins
management tools
A collection of scripts and packages to simplify OS X management.
Stars: ✭ 93 (+257.69%)
Mutual labels:  mac, macadmin, macadmins
cleanup manager
Cleanup Manager helps you clean up folders on your Mac's hard drive.
Stars: ✭ 22 (-15.38%)
Mutual labels:  mac, macadmin, macadmins
mac scripts
A collection of scripts used to Manage Mac OS X computers.
Stars: ✭ 38 (+46.15%)
Mutual labels:  macadmin, macadmins
pre-commit-macadmin
Pre-commit hooks for Mac admins.
Stars: ✭ 43 (+65.38%)
Mutual labels:  mac, macadmin
Munkiadmin
macOS app for managing Munki repositories
Stars: ✭ 310 (+1092.31%)
Mutual labels:  mac, macadmin
GNU-bash-mac-installer
Downloads and builds a Mac package installer for GNU bash 5
Stars: ✭ 17 (-34.62%)
Mutual labels:  mac, macadmin
Macvars
command library for scripting osx
Stars: ✭ 34 (+30.77%)
Mutual labels:  mac, macadmin
Privacy services manager
A single management utility to administer Location Services, Contacts requests, Accessibility, and iCloud access in Apple's OS X.
Stars: ✭ 115 (+342.31%)
Mutual labels:  mac, macadmin
Display manager
An open-source Python library which can modify your Mac's display settings manually or automatically.
Stars: ✭ 109 (+319.23%)
Mutual labels:  mac, macadmin
Firmware password manager
A Python script to help Macintosh administrators manage the firmware passwords of their computers.
Stars: ✭ 127 (+388.46%)
Mutual labels:  mac, macadmin
jamfscripts
Scripts I use non API related
Stars: ✭ 15 (-42.31%)
Mutual labels:  macadmin, macadmins
Mac Zsh Completions
macOS specific additional completion definitions for Zsh.
Stars: ✭ 79 (+203.85%)
Mutual labels:  mac, macadmin
Mac admin
Helpful scripts & configuration profiles for the Mac admin community
Stars: ✭ 139 (+434.62%)
Mutual labels:  mac, macadmin
blade runner
Blade Runner is a Jamf Pro based Python application that automates and implements a framework to offboard, secure erase and document deprecated Mac systems.
Stars: ✭ 24 (-7.69%)
Mutual labels:  mac, macadmin
Installer
A simple standalone program which automates the installation, removal and maintenance of BetterDiscord.
Stars: ✭ 1,391 (+5250%)
Mutual labels:  mac
defi-app-old
DeFi Blockchain desktop app for Windows, Linux and Mac.
Stars: ✭ 12 (-53.85%)
Mutual labels:  mac
syncTabs
Sync your firefox tabs with Safari on iOS
Stars: ✭ 25 (-3.85%)
Mutual labels:  mac
COLLADAViewer2
An OBSOLETE instructional OS X application to load/display COLLADA Models and export to compact binary representations.
Stars: ✭ 48 (+84.62%)
Mutual labels:  mac

disable_sip

This script is used in the recovery partition to automatically disable SIP.

Contents

Download

Download the latest version of disable_sip here!

Contact

If you have any comments, questions, or other input, either file an issue or send an email to us. Thanks!

Purpose

System Integrity Protection (SIP), sometimes referred to as rootless, is a security feature implemented in "OS X El Capitan". It protects certain system processes, files and folders from being modified or tampered with by other processes even when executed by the root user or by a user with root privileges (sudo). Apple says that the root user can be a significant risk factor to the system’s security, especially on systems with a single user account on which that user is also the administrator. System Integrity Protection is enabled by default, but can be disabled.

Since we haven’t migrated completely to our new client management system, called Casper Suite, we decided to temporarily disable SIP since it conflicts with our current client management system called Radmind. Radmind operates as a tripwire with the ability to detect any modifications to the file system and reverse those changes to a known state. We also had hardware that required running the latest OS at the time, "OS X El Capitan" that needed to be deployed.

We didn’t want to touch every system to disable or enable System Integrity Protection (SIP), so, we developed a automated method of disabling it during "OS X El Capitan" upgrade. This process will be discussed at this presentation.

Usage

The bash script SIPFix.sh and the Launch Daemons Property List edu.utah.scl.SIPFix.plist are used to disable SIP in a modified recovery partition.

The Recovery Partition is a disk image (dmg) that is stored in the Recovery HD partition on the main hard drive or in the OS X Installer Package. The BaseSystem.dmg is the disk image that the Recovery Partition uses to boot the system. For the Recovery HD, BaseSystem.dmg can be found in the com.apple.recovery.boot folder. For the OS X Installer, it can be found in the Contents/SharedSupport/InstallerESD.dmg in the Installer Package. The disk image mounts as read-only. To customize the Recovery Partition to disable SIP during installation or each time you boot from the Recovery Partition follow these steps:

  1. Make a copy of the original disk image
  2. Convert the disk image to a read/write disk image using Disk Utility.
  3. Add the SIP Disable script to /usr/local/bin
  4. Add the Launch Daemons Property List to /Library/LaunchDaemons
  5. Remove Safari to make room for the script.
  6. Compress the disk image back to a read-only image.
  7. Replace the original disk image with the modified one.

You can use these above steps to add whatever customization, like an application or administrative tool to the recovery partition. However, the recovery partition is a specific disk quota and you could get an error like this if your modifications don’t leave enough disk space. Error (async): The new recovery partition would be too large (-69668)

For detailed instructions on how to modfiy the recovery parition, check out: Automatic Disabling SIP with El Capitan Upgrade

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].