How to create user in scylladb 1.6?

134 views
Skip to first unread message

alexandr.porunov@gmail.com

<alexandr.porunov@gmail.com>
unread,
Mar 21, 2017, 3:16:57 AM3/21/17
to ScyllaDB users
Hello,

I am trying to create a new user in scylladb but without success.
Here is what I get:
cqlsh> CREATE USER IF NOT EXISTS salt WITH PASSWORD 'salt' NOSUPERUSER;
InvalidRequest: code=2200 [Invalid query] message="org.apache.cassandra.auth.AllowAllAuthenticator doesn't support PASSWORD option"

Is it possible to create user with password?

Sincerely,
Alexandr

Pekka Enberg

<penberg@scylladb.com>
unread,
Mar 21, 2017, 3:26:45 AM3/21/17
to ScyllaDB users, Alexandr Porunov, Tzach Livyatan, Nir Mayaan
Yes, it is. You just need to set the "authenticator" configuration
option to "PasswordAuthenticator" in the scylla.yaml file:

https://github.com/scylladb/scylla/blob/master/conf/scylla.yaml#L206

Tzach, I suppose security configuration deserves a section in the
admin guide or the Scylla procedures page?

- Pekka

alexandr.porunov@gmail.com

<alexandr.porunov@gmail.com>
unread,
Mar 21, 2017, 3:26:53 AM3/21/17
to ScyllaDB users
Found a solution. I need to use next parameter:
authenticator: PasswordAuthenticator

Nir Mayaan

<nir@scylladb.com>
unread,
Mar 21, 2017, 3:31:11 AM3/21/17
to ScyllaDB users, alexandr.porunov@gmail.com, tzach@scylladb.com, nir@scylladb.com
Yes we are planning to add it
Reply all
Reply to author
Forward
0 new messages