I use Freedom to help me stay focused while working. Sometimes I will be so disillusioned with my work, that I will go to such lengths as to try and kill the process from the terminal.

I'd like to prevent myself from doing this. Is it possible to elevate the process so that it can't be killed by any means, including by using sudo kill <process ID> from a terminal?

有帮助吗?

解决方案

On macOS it is not possible to create processes which can‘t be killed by a user who is able to sudo. So the short and simple answer to your question is NO.

许可以下: CC-BY-SA归因
不隶属于 apple.stackexchange
scroll top