=========================================
Adding or removing an administrative user
=========================================

An administrator can make any other user an administrator---or remove
their administrator permissions---by using administrator commands in
the Terminal application.

A user can also be designated as a superuser or as staff, giving
them greater administrative privileges within the system.


Designating a user as an administrator/superuser
------------------------------------------------

To designate a user as an administrator and superuser:

.. code-block:: bash

   /opt/wakari/wakari-server/bin/wk-server-admin superuser --add <username>

NOTE: Replace ``<username>`` with the actual username.

EXAMPLE: To give administrative privileges to the user named
"jsmith" and set them as a superuser, run::

  /opt/wakari/wakari-server/bin/wk-server-admin superuser --add jsmith


Removing an administrator/superuser
-----------------------------------

To remove a user's administrative privileges:

.. code-block:: bash

   /opt/wakari/wakari-server/bin/wk-server-admin superuser --remove <username>

NOTE: Replace ``<username>`` with the actual username.
