Sample Header Ad - 728x90

Disabling services (daemons, agents) with launchctl

1 vote
1 answer
1771 views
I want to get rid of some system services completely. I turned off sip with csrutil disable. Then following command sudo launchctl disable com.apple.cloudphotod Gave me an unexpected answer: Unrecognized target specifier, did you mean gui/501/com.apple.cloudphotod I've read man, searched forums and so on. But I can't get why do I need specify the context agent is running in, how do I know that from launchctl list and is the a way to avoid the need to specify it? There are many services and I'm completely uncertain which one is in which context. Side question: I also was looking for a gui tool such as Windows Services.msc, found Soma-zone's LaunchControl. Downloaded tar.gz archive, unarchived, started the app, and... it says "can't open the app". Did I miss something and tar.gz needs some special handling? Never dealt with that.
Asked by Andrew Orlow (11 rep)
Mar 29, 2024, 04:48 PM
Last activity: Apr 29, 2024, 12:04 PM