Hi@akhtar,
You can set password to your cassandra account.
Follow the below given steps.
- Open the cassandra.yaml file.
- Replace the below lines.
authenticator value is 'AllowAllAuthenticator'. Change this authenticator value from 'AllowAllAuthenticator' to 'com.datastax.bdp.cassandra.auth.PasswordAuthenticator'.
authorizer value will be 'AllowAllAuthorizor'. Change this authorizer value from 'AllowAllAuthorizor' to 'com.datastax.bdp.cassandra.auth.CassandraAuthorizor'.
$ cqlsh -3 localhost -u cassandra -p cassandra
$ alter user cassandra with password 'newpassword';
Hope this will work.
Thank You