Adding or removing an administrative user (AEN 4.1.3)
=====================================================

.. raw:: html

    <p>An administrator can make any other user an administrator&#8212;or remove
    their administrator permissions&#8212;by using administrator commands in
    the Terminal application.</p>
    <p>A user can also be designated as a superuser or as staff, giving
    them greater administrative privileges within the system.</p>
    <div class="section" id="designating-a-user-as-an-administrator-superuser">
    <h2>Designating a user as an administrator/superuser<a class="headerlink" href="#designating-a-user-as-an-administrator-superuser" title="Permalink to this headline">¶</a></h2>
    <p>To designate a user as an administrator and superuser:</p>
    <div class="highlight-bash"><div class="highlight"><pre><span></span>wk-server-admin superuser --add &lt;username&gt;
    </pre></div>
    </div>
    <p>NOTE: Replace <code class="docutils literal"><span class="pre">&lt;username&gt;</span></code> with the actual username.</p>
    <p>EXAMPLE: To give administrative privileges to the user named
    &#8220;jsmith&#8221; and set them as a superuser, run:</p>
    <div class="highlight-default"><div class="highlight"><pre><span></span><span class="n">wk</span><span class="o">-</span><span class="n">server</span><span class="o">-</span><span class="n">admin</span> <span class="n">superuser</span> <span class="o">--</span><span class="n">add</span> <span class="n">jsmith</span>
    </pre></div>
    </div>
    </div>
    <div class="section" id="removing-an-administrator-superuser">
    <h2>Removing an administrator/superuser<a class="headerlink" href="#removing-an-administrator-superuser" title="Permalink to this headline">¶</a></h2>
    <p>To remove a user&#8217;s administrative privileges:</p>
    <div class="highlight-bash"><div class="highlight"><pre><span></span>wk-server-admin superuser --remove &lt;username&gt;
    </pre></div>
    </div>
    <p>NOTE: Replace <code class="docutils literal"><span class="pre">&lt;username&gt;</span></code> with the actual username.</p>
    </div>
