Re: Error of "You have to be logged in and not anonymous to perform this request"

2017-03-19 Thread Long Quanzheng
Thanks. Good to know that. But that's a little confusing for first time using Cassandra. 2017-03-19 19:16 GMT-07:00 Max Campos : > These commands don’t really mean anything unless you’re using > authentication. If you want to enable roles / authentication / etc, then > follow the instructions in

Re: Error of "You have to be logged in and not anonymous to perform this request"

2017-03-19 Thread Max Campos
These commands don’t really mean anything unless you’re using authentication. If you want to enable roles / authentication / etc, then follow the instructions in the manual: http://cassandra.apache.org/doc/latest/operating/security.html#authentication

Error of "You have to be logged in and not anonymous to perform this request"

2017-03-19 Thread Long Quanzheng
Hi I can't do any actions even with the superuser "cassandra". cassandra@cqlsh> list roles; Unauthorized: Error from server: code=2100 [Unauthorized] message="You have to be logged in and not anonymous to perform this request" cassandra@cqlsh> CREATE USER dba WITH PASSWORD 'bacon' SUPERUSER; Unau