<p>Is there an <code>oc</code> command (or other method) to list all service accounts that have been granted the <code>privileged</code> scc?</p>

<p>If I suspect <code>oc adm policy add-scc-to-user privileged -z SA_NAME</code> has been run against a number of service accounts, how can I check?  I know the call to undo this using <code>oc adm policy remove-scc-from-user ...</code>, but haven't found a command to list which accounts have been given an scc.</p>

davur
<p>You should not edit your scc. Simply to prevent typos. Use describe instead</p>
<pre class="lang-bash prettyprint-override"><code>oc describe scc privileged
</code></pre>
