Discussion:
Admin password change - Futon?
Wordit
2011-05-27 13:42:49 UTC
Permalink
Is there a way to change an admin password in Futon? (Only one admin
user so far)

What's the simplest way otherwise?

Thanks,

Marcus
Gabor Ratky
2011-05-27 13:52:20 UTC
Permalink
Edit the [admins] section of local.ini (usually at /usr/local/etc/couchdb/local.ini but depends on where you have couchdb installed). You can just have "username = password" in plain text, CouchDB will take care of hashing the password afterwards. Also, if you delete all admin rows, you are back to admin party and you can set up a shiny new admin user using Futon.

Gabor
Post by Wordit
Is there a way to change an admin password in Futon? (Only one admin
user so far)
What's the simplest way otherwise?
Thanks,
Marcus
Wordit
2011-05-27 13:59:05 UTC
Permalink
Thanks Gabor,

The DB is hosted on CouchOne/Couchbase so I cannot access the file
system. Do you mean I can delete the admin user in Futon's config
section, then recreate it?

The DB is in use for a web app so I don't want to disrupt it except
for a minute or so.

Thanks,

Marcus
Post by Gabor Ratky
Edit the [admins] section of local.ini (usually at /usr/local/etc/couchdb/local.ini but depends on where you have couchdb installed). You can just have "username = password" in plain text, CouchDB will take care of hashing the password afterwards. Also, if you delete all admin rows, you are back to admin party and you can set up a shiny new admin user using Futon.
Gabor
Post by Wordit
Is there a way to change an admin password in Futon? (Only one admin
user so far)
What's the simplest way otherwise?
Thanks,
Marcus
Gabor Ratky
2011-05-30 08:33:28 UTC
Permalink
There must be a way to manage this in the CouchOne / IrisCouch interface. Unfortunately I have no clue where exactly it is. Ask them, if you can't find it.
Post by Wordit
Thanks Gabor,
The DB is hosted on CouchOne/Couchbase so I cannot access the file
system. Do you mean I can delete the admin user in Futon's config
section, then recreate it?
The DB is in use for a web app so I don't want to disrupt it except
for a minute or so.
Thanks,
Marcus
Post by Gabor Ratky
Edit the [admins] section of local.ini (usually at /usr/local/etc/couchdb/local.ini but depends on where you have couchdb installed). You can just have "username = password" in plain text, CouchDB will take care of hashing the password afterwards. Also, if you delete all admin rows, you are back to admin party and you can set up a shiny new admin user using Futon.
Gabor
Post by Wordit
Is there a way to change an admin password in Futon? (Only one admin
user so far)
What's the simplest way otherwise?
Thanks,
Marcus
Dave Cottlehuber
2011-05-31 03:51:04 UTC
Permalink
Post by Gabor Ratky
There must be a way to manage this in the CouchOne / IrisCouch interface. Unfortunately I have no clue where exactly it is. Ask them, if you can't find it.
Post by Wordit
Thanks Gabor,
The DB is hosted on CouchOne/Couchbase so I cannot access the file
system. Do you mean I can delete the admin user in Futon's config
section, then recreate it?
The DB is in use for a web app so I don't want to disrupt it except
for a minute or so.
Thanks,
Marcus
Post by Gabor Ratky
Edit the [admins] section of local.ini (usually at /usr/local/etc/couchdb/local.ini but depends on where you have couchdb installed). You can just have "username = password" in plain text, CouchDB will take care of hashing the password afterwards. Also, if you delete all admin rows, you are back to admin party and you can set up a shiny new admin user using Futon.
Gabor
Post by Wordit
Is there a way to change an admin password in Futon? (Only one admin
user so far)
What's the simplest way otherwise?
Thanks,
Marcus
you can update local.ini via curl _config. read
http://techzone.couchbase.com/sites/default/files/uploads/all/documentation/couchbase-api.html
& play around with it. I'll look tomorrow to put a proper example on
the wiki.

A+
Dave

Loading...