I'm logging in with on Ubuntu 14.10 on Cassandra 2.0.8 with Java 1.7.0_60-b19
cqlsh -u cassandra -p cassandra
I'm running:
CREATE USER a WITH PASSWORD 'a' NOSUPERUSER;
I'm getting the error:
Bad Request: Only superusers are allowed to perform CREATE USER queries
The problem with reasoning - I am logged in as the superuser.
My question is: If I'm logged into cqlsh as the Cassandra user, why am I told that I'm not the superuser?