From eaa17e407fc93519c8b29a56481863b8e9c2165c Mon Sep 17 00:00:00 2001 From: redteampanda-ng <31235211+redteampanda-ng@users.noreply.github.com> Date: Tue, 9 Apr 2024 10:55:45 +0200 Subject: [PATCH 1/3] chore: add password reset section --- admin/index.rst | 3 ++- admin/password.rst | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 admin/password.rst diff --git a/admin/index.rst b/admin/index.rst index 2dd7923..93f9f43 100644 --- a/admin/index.rst +++ b/admin/index.rst @@ -11,4 +11,5 @@ continuing. :caption: Contents updates - upgrade \ No newline at end of file + upgrade + password \ No newline at end of file diff --git a/admin/password.rst b/admin/password.rst new file mode 100644 index 0000000..f9c856d --- /dev/null +++ b/admin/password.rst @@ -0,0 +1,23 @@ +Password Reset +============== + +This chapter incluse console commands to reset the +password for the admin user on both the Security Center +Frontend and Backend + +Security Center Frontend +------------------------ + +In case you lost access to the ``admin`` user of your Security +Center, you have to reset the password via console. To reset the +password for the ``admin`` user on the **Security Center Frontend**, +run the following command: + +.. code-block:: bash + + nextron@asc-front:~$ sudo + +Security Center Backend +----------------------- + +placeholder \ No newline at end of file From 80cc9d5ca0bf65fa83e4aafe364f2d5d19bbaf65 Mon Sep 17 00:00:00 2001 From: redteampanda-ng <31235211+redteampanda-ng@users.noreply.github.com> Date: Wed, 10 Apr 2024 09:13:30 +0200 Subject: [PATCH 2/3] chore: placeholder --- admin/password.rst | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/admin/password.rst b/admin/password.rst index f9c856d..8ccf169 100644 --- a/admin/password.rst +++ b/admin/password.rst @@ -1,23 +1,11 @@ Password Reset ============== -This chapter incluse console commands to reset the -password for the admin user on both the Security Center -Frontend and Backend +Since the password for the admin user is stored only on the Backend, +you have to reset the password via console. To reset the password for +the ``admin`` user on the **Security Center Backend**, run the following +command: -Security Center Frontend ------------------------- +.. code-block:: console -In case you lost access to the ``admin`` user of your Security -Center, you have to reset the password via console. To reset the -password for the ``admin`` user on the **Security Center Frontend**, -run the following command: - -.. code-block:: bash - - nextron@asc-front:~$ sudo - -Security Center Backend ------------------------ - -placeholder \ No newline at end of file + nextron@asc-back:~$ sudo \ No newline at end of file From 43eaccb52d0d1441996564ef1ad26d75f6b9d7e1 Mon Sep 17 00:00:00 2001 From: redteampanda-ng <31235211+redteampanda-ng@users.noreply.github.com> Date: Wed, 10 Apr 2024 10:20:31 +0200 Subject: [PATCH 3/3] chore: add password-reset command --- admin/password.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/admin/password.rst b/admin/password.rst index 8ccf169..89f44e1 100644 --- a/admin/password.rst +++ b/admin/password.rst @@ -4,8 +4,12 @@ Password Reset Since the password for the admin user is stored only on the Backend, you have to reset the password via console. To reset the password for the ``admin`` user on the **Security Center Backend**, run the following -command: +command via console: .. code-block:: console - nextron@asc-back:~$ sudo \ No newline at end of file + nextron@sc-back:~$ sudo asgard-security-center-backend set-password + {"LEVEL":"Info","MESSAGE":"LDAP disabled","MODULE":"LDAP","TIME":"2024-04-10T08:17:42Z"} + Please enter password for user `admin`: + Please re-enter password for user `admin`: + Apr 10 08:17:49 sc-back THOR_UTIL: Info: SET_PASSWORD: password successfully updated \ No newline at end of file