Re:Lulu – Mac open-source firewall that aims to block unknow...
by ValentineC on Tuesday January 12, 2021 @11:27AM
(#25749061)
This is mine from 2019:
I should probably stick it in Automator or something because Adobe's invasion is getting really annoying.
[ Parent
| on HN ]
Re:Lulu – Mac open-source firewall that aims to block unknow...
by MiguelHudnandez on Tuesday January 12, 2021 @01:31PM
(#25751249)
launchd sounds scary but it is not that hard to get an agent enabled. It's basically a plist file or two in the right place and a command to enable it. You can have launchd call your shell script once per minute.
I used this to good effect once to log the output of a few debug commands to text, commit that to a git repo, and move on. Then I could come back later and see what was going on before an issue happened on that system.
Here's some info on launchd to save you some searching: https://www.maketecheasier.com/use-launchd-run-scripts-on-sc...
Regarding finding the adobe process names, you can filter output of `ps aux` based on application path or name to get a current list process IDs and kill those.
In this particular case, watch out for getting into a launchd fight, where launchd is simultaneously killing adobe processes and also relaunching them because of Adobe's own launchd registrations.
Re:Lulu – Mac open-source firewall that aims to block unknow...
by saagarjha on Tuesday January 12, 2021 @07:57PM
(#25756488)
Speaking of launchd, it would be a much better idea to unload those services rather than just killing them so they don't come back.
Re:Lulu – Mac open-source firewall that aims to block unknow...
by MiguelHudnandez on Wednesday January 13, 2021 @06:09PM
(#25769292)
Indeed. Some component of Adobe's suite will be responsible for re-enabling them, so it's just a balance between actually using the software and disabling the background tasks.