Posted on 08-31-2016 07:11 AM
Returns either enabled or disabled or a blank value on <10.11 machines.
#!/bin/sh
result=$(csrutil status | awk '{ print $5 }' | tr -d '.')
echo "<result>$result</result>"
Posted on 08-31-2016 07:15 AM
I love having to explain to management why I can't get rid of Chess. While I applaud them for their ultra protective mode - but they should let us get rid of some apps.
Good EA though...will add it to our inventory to check machines.
Posted on 08-31-2016 07:50 AM
I just use a policy to make things invisible, instead of deleting it.
Posted on 08-31-2016 08:13 AM
I have a SIP EA, which checks the OS version and returns different output depending on if your Mac is running 10.11.x or later, or 10.10.x and earlier. It's available via the link below: