You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Tito Ciuro <ti...@apple.com> on 2016/07/21 19:03:40 UTC
Unable to login after setting up the admin password
Hello,
I'm trying to lock down a CouchDB database and something it's not working quite right. On the following page (http://guide.couchdb.org/editions/1/en/security.html <http://guide.couchdb.org/editions/1/en/security.html>) I see the following text:
> Instead of creating the admin user as we showed previously, you could have stopped CouchDB, opened your local.ini, added anna = secret to the [admins] section, and restarted CouchDB.
So I did that:
1) update my local.ini file and edit the [admins] section:
[admins]
tito = letmein
2) Restart CouchDB and open Futon. Click "Login" at the bottom-right of the window and enter the credential.
The login screen presents the following error: "Error logging in: Name or password is incorrect."
Any idea why this is failing? Anything else I need to do?
Thanks!
-- Tito
Re: Unable to login after setting up the admin password
Posted by Tito Ciuro <ti...@apple.com>.
Never mind! Turns out the file had the wrong permissions. Having corrected this issue, it worked beautifully.
-- Tito
> On Jul 21, 2016, at 12:03 PM, Tito Ciuro <ti...@apple.com> wrote:
>
> Hello,
>
> I'm trying to lock down a CouchDB database and something it's not working quite right. On the following page (http://guide.couchdb.org/editions/1/en/security.html <http://guide.couchdb.org/editions/1/en/security.html>) I see the following text:
>
>> Instead of creating the admin user as we showed previously, you could have stopped CouchDB, opened your local.ini, added anna = secret to the [admins] section, and restarted CouchDB.
>
>
> So I did that:
>
> 1) update my local.ini file and edit the [admins] section:
>
> [admins]
> tito = letmein
>
> 2) Restart CouchDB and open Futon. Click "Login" at the bottom-right of the window and enter the credential.
>
> The login screen presents the following error: "Error logging in: Name or password is incorrect."
>
> Any idea why this is failing? Anything else I need to do?
>
> Thanks!
>
> -- Tito