Hi Everyone,
I am working on a policy to remove SentinelOne security software by simply using rm -rf to rip out the files, because the deactivation process from the product's console is time consuming and unreliable. I have a very basic sh script to remove the files line by line:
#!/bin/sh
sudo rm -rf /Library/Sentinel
sudo rm -rf /Library/LaunchDaemons/com.sentinelone.sentineld-guard.plist
sudo rm -rf /Library/LaunchDaemons/com.sentinelone.sentineld-helper.plist
sudo rm -rf /Library/LaunchDaemons/com.sentinelone.sentineld.plist
sudo rm -rf /Library/LaunchAgents/com.sentinelone.agent.plist
sudo rm -rf ~/Library/Preferences/com.sentinelone.SentinelAgent.plist
However, for every file (except for the one in the ~/library) , the result is "Permission denied". The files & directory in question are owned by root, would it make sense to try and chown them to the local management account that JAMF uses on the enrolled macs?
Thanks,
-Mike
