title: How to reset Cassandra superuser, when Cassandra does not know 'cassandra' default user?
body: <p>How to reset default Cassandra credentials without changing source code?</p>
  
  <p>I have check similar problems like <a href="https://stackoverflow.com/questions/18398987/how-to-reset-a-lost-cassandra-admin-users-password">How to reset a lost Cassandra admin user&#39;s password?</a>.
   I have three node cluster of Datastax Cassandra 2.0.8 and I am trying to implement authentication. I have set cassandra.yaml in all nodes and restarted them. Problem is that I still cannot login in to cqlsh.</p>
  
  <p>I have also tried to reset password for cassandra user in cqlsh(I have disabled authentication for that):</p>
  
  <pre><code>update system_auth.credentials set salted_hash='$2a$10$vbfmLdkQdUz3Rmw.fF7Ygu6GuphqHndpJKTvElqAciUJ4SZ3pwquu' where username='cassandra';
  </code></pre>
  
  <p>In logs there is Info about creating cassandra superuser. I have checked keyspace system_auth and it includes credentials,permissions and users. And credentials column family does contain user cassandra:</p>
  
  <pre><code>cqlsh&gt; use system_auth;
  cqlsh:system_auth&gt; select * from credentials;
  
   username  | options | salted_hash
  -----------+---------+----------------------------------------------------------                                ----
   cassandra |    null | $2a$10$vbfmLdkQdUz3Rmw.fF7Ygu6GuphqHndpJKTvElqAciUJ4SZ3pw                                quu
  
  (1 rows)
  </code></pre>
  
  <p>But still, when I try:</p>
  
  <pre><code>./cqlsh -u cassandra -p cassandra
  </code></pre>
  
  <p>I get exception, that user does not exists, but I dont have permissions to create one.</p>
  
  <pre><code>cql.cassandra.ttypes.AuthenticationException: AuthenticationException(why="User cassandra doesn't exist - create it with CREATE USER query first")
  </code></pre>