From 74e8f71f373e16b78ceaed4be2e804e1cfef3f13 Mon Sep 17 00:00:00 2001 From: florian <f.spreckelsen@inidscale.com> Date: Fri, 5 Aug 2022 14:23:08 +0200 Subject: [PATCH] DOC: Nicen up administration page --- src/doc/administration.rst | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/doc/administration.rst b/src/doc/administration.rst index 061acc83..eab02e43 100644 --- a/src/doc/administration.rst +++ b/src/doc/administration.rst @@ -5,10 +5,12 @@ The Python script ``caosdb_admin.py`` should be used for administrative tasks. Call ``caosdb_admin.py --help`` to see how to use it. The most common task is to create a new user (in the CaosDB realm) and set a -password for the user (note that a user typically needs to be activated):: +password for the user (note that a user typically needs to be activated): - caosdb_admin.py create_user anna - caosdb_admin.py set_user_password anna - caosdb_admin.py add_user_roles anna administration - caosdb_admin.py activate_user anna +.. code:: console + + $ caosdb_admin.py create_user anna + $ caosdb_admin.py set_user_password anna + $ caosdb_admin.py add_user_roles anna administration + $ caosdb_admin.py activate_user anna -- GitLab