문제

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