How to restart the taskgated process?

kill, macos

Solution

`taskgated` is `root` process, therefore you need to use `sudo`.

$sudo lsof | grep taskgated  


taskgated   13            root  cwd       DIR                1,2       1156        2 /
taskgated   13            root  txt       REG                1,2      71520   530715 /usr/libexec/taskgated
taskgated   13            root  txt       REG                1,2      29968   706441 /System/Library/PrivateFrameworks/ConfigProfileHelper.framework/Versions/A/ConfigProfileHelper

Problem

I am trying to follow this manual, which contains the instruction: ``` restart taskgated service by killing the current running taskgated process ``` How to do it? I am trying to find taskgated and got only some `ttys007`, but no task gated process: ``` $ ps | grep taskgated 66942 ttys007 0:00.00 grep --exclude-dir=.svn taskgated $lsof | grep taskgated $ ```

Original source

Related problems