What version of Cassandra are you using? For 1.2.2 and later, you can authenticate using PasswordAuthenticator and CassandraAuthorizer, as described in the documentation ( http://www.datastax.com/docs/1.2/security/native_authentication ):
1- Change the authentication parameter cassandra.yaml to PasswordAuthenticator:
authenticator: org.apache.cassandra.auth.PasswordAuthenticator
auhorizer CassandraAuthorizer:
authorizer: com.datastax.bdp.cassandra.auth.CassandraAuthorizer
2- system_auth .
3- .
(cassandra), Cassandra. , start cqlsh:
./cqlsh -u cassandra -p cassandra
CQL .
, ( ) , " ".
, cassandra-cli , cqlsh :
./cassandra-cli -u username -pw password
: DataStax Enterprise Apache Cassandra