Changing the default superuser
You can change the default superuser from the default cassandra user.
By default, each installation of Cassandra includes a superuser account named cassandra whose password is also cassandra. Superuser permissions allows creation and deletion of other users and the ability to grant or revoke permissions.
Note: Use the default cassandra user only to assist with initial setup of
new users and superusers, and then disable it.
- Logins for the cassandra user are performed with QUORUM consistency.
Do not use the default cassandra user in production, because QUORUM consistency has significant performance degradation for multiple data centers.
- Logins for all other users are performed with LOCAL_ONE consistency.
- Restrict rights of users as appropriate for security. For example, do not allow access to other keyspaces.
- Follow these steps to change the default superuser.