Files
scylladb/docs/troubleshooting/password-reset.rst
Marcin Maliszkiewicz cbf47319c1 db: auth: move auth tables to system keyspace
Separate keyspace which also behaves as system brings
little benefit while creating some compatibility problems
like schema digest mismatch during rollback. So we decided
to move auth tables into system keyspace.

Fixes https://github.com/scylladb/scylladb/issues/18098

Closes scylladb/scylladb#18769

(cherry picked from commit 2ab143fb40)

[avi: adjust test/alternator/suite.yaml to reflect new keyspace]
2024-06-02 21:41:14 +03:00

40 lines
981 B
ReStructuredText

Reset Authenticator Password
============================
This procedure describes what to do when a user loses his password and can not reset it with a superuser role.
The procedure requires cluster downtime and as a result, all auth data is deleted.
.. scylladb_include_flag:: system-auth-name-info.rst
Procedure
.........
| 1. Stop Scylla nodes (**Stop all the nodes in the cluster**).
.. code-block:: shell
sudo systemctl stop scylla-server
| 2. Remove system tables starting with ``role`` prefix from ``/var/lib/scylla/data/system`` directory.
.. code-block:: shell
rm -rf /var/lib/scylla/data/system/role*
| 3. Start Scylla nodes.
.. code-block:: shell
sudo systemctl start scylla-server
| 4. Verify that you can log in to your node using ``cqlsh`` command.
| The access is only possible using Scylla superuser.
.. code-block:: cql
cqlsh -u cassandra -p cassandra
| 5. Recreate the users
.. include:: /troubleshooting/_common/ts-return.rst