in This Tutorial you will Learn : How To Cassandra - Creating Superuser Accounts | Adding a superuser login On Rocky Linux 8
Apache Cassandra is a free and open-source distributed NoSQL database management system.
Homepage - https://cassandra.apache.org/_/index.html
Adding a superuser login - https://docs.datastax.com/en/security/6.7/security/Auth/secCreateRootAccount.html
_________________________________________________________________________________________
Server - Os: Rocky Linux 8.5 64Bit | IP -192.168.1.60 |Hostname - server.yourdomain.com
_________________________________________________________________________________________
Cassandra Version - /usr/sbin/cassandra -v
cqlsh
cp /etc/cassandra/conf/cassandra.yaml /etc/cassandra/conf/cassandra.yaml.backup
nano /etc/cassandra/conf/cassandra.yaml
authenticator: AllowAllAuthenticator
To
authenticator: PasswordAuthenticator
systemctl restart cassandra ; systemctl status cassandra
Default Cassandra user/password - cassandra/cassandra
cqlsh -u cassandra -p cassandra
CREATE ROLE root_user_name with SUPERUSER = true AND LOGIN = true and PASSWORD = 'password';
LIST ROLES;
cqlsh -u root_user_name -p password
DROP ROLE IF EXISTS cassandra;
LIST ROLES;
_________________________________________________________________________________________
Wednesday, February 16, 2022
Cassandra - Creating Superuser Accounts
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment