Where do you add new (non admin) users?
Hi,
So I'm using Couchbase 1.8, and I have an Administrator user, and I can use Couchbase::Client to connect using those credentials and it's all good..
However I am used to *not* using admin logins in production code -- normally there's a limited user who can only access certain databases. How do I set that up using Couchbase? I can't find any user-administration pages in the web UI, nor do the scripts in /opt/couchbase/bin look promising..
Thanks in advance,
Toby
In that case.. how can I change the Administrator password after installation?
http://www.couchbase.com/issues/browse/MB-5619
OK, so if it's not possible through the web UI.. could you point me to the documentation on how to add new users through the command-line interface?
Thanks
I eventually figured this out:
/opt/couchbase/bin/couchbase-cli cluster-init -u Administrator -p old_password -c 127.0.0.1:8091 --cluster-init-username=Administrator --cluster-init-password=new_password
Great, glad to see you found the answer.
I don't believe that we have a way to add non-admin users for the web ui/rest interface. The reason at the moment is most likely that even if you could add more users they all would have the same privileges in regards to cluster operations. I will file an improvement for this though, you can follow it here:
http://www.couchbase.com/issues/browse/MB-5619