본문 바로가기

프로그래밍/MAC OS

mojave 에서 gatekeeper 비활성화하여, notarization 안 된 프로그램 실행하기

반응형

Mojave 에서 테스트했다.

notarization 이 안 된 프로그램을 실행하기 위해서 macos 의 gatekeeper 를 죽이는 명령어

sudo spctl --master-disable

실행 후에, system preference - security & privacy - general 탭의 allow apps downloaded from 부분을 보면 다음과 같이 없어졌던 anywhere 옵션이 다시 생긴 것을 볼 수 있다.

이를 다시 원래대로 되돌리려며, master-enable 인자로 같은 명령을 실행하면 된다.

sudo spctl --master-enable

728x90