mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-25 02:50:33 +00:00
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]
40 lines
981 B
ReStructuredText
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
|