Skip to content

Commit

Permalink
Merge pull request #22 from NextronSystems/password-reset
Browse files Browse the repository at this point in the history
chore: add password-reset command
  • Loading branch information
redteampanda-ng committed Apr 10, 2024
2 parents 2bfb090 + 188be42 commit fee8dd4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions faqs/admin-pass.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ the system via SSH, you can reset it via command line using the following comman

.. code-block:: console
nextron@cockpit:~$ sudo mysql analysiscockpit -e "UPDATE users SET password = '7951GYqdAjLAoO1NaQu1ManJDIk' WHERE name = 'admin';"
This resets the password to ``admin``. You should then change that password immediately.
nextron@cockpit:~$ sudo asgard-analysis-cockpit set-password
Please enter password for user `admin`:
Please re-enter password for user `admin`:
2024-04-10T08:26:29Z [INF] SET_PASSWORD: Database initialized..
2024-04-10T08:26:29Z [INF] SET_PASSWORD: password successfully updated

0 comments on commit fee8dd4

Please sign in to comment.