I want to stop a user in MacOS from unloading a plist using launchctl?
Launchctl does not seem to always require a su / sudo. I have a non-admin user that is managing to switch off app restrictions and adjust various processes that are running.
I don't want to block Terminal, which is my current solution.
~/Libraryand other similar folders so that only administrators andwheelorrootcan edit/view/etc. – CJK Nov 26 '19 at 01:54it's not asking for a su password... so they can unload app restrictions. I am not sure how a non-admin account is managing this. At the moment I have just renamed and moved Terminal to a local App folder for an Admin account (with SIP disabled) as a not so sexy solution...
– Adey Jade Nov 26 '19 at 21:28sudoorsu). Something really weird is going on here, and I think you'd be better off trying to figure out what it is than to try to patch symptoms like this. – Gordon Davisson Nov 28 '19 at 19:49