- From: Landon <
>
- To:
- Subject: [chef] Re: Re: Lost Admin Password
- Date: Fri, 16 Jul 2010 11:26:12 -0700
Thanks Daniel. That helps a lot!
Landon
On Thu, Jul 15, 2010 at 9:10 PM, Daniel DeLeo
<
>
wrote:
>
On Thu, Jul 15, 2010 at 12:41 PM, Landon
>
<
>
>
wrote:
>
> What's the best way to recover access to the web interface if the
>
> admin password is lost??
>
>
You have to delete the admin user from the database and then restart
>
the webui. You can access the database via the futon web interface at
>
http://localhost:5984/_utils In most installations couchdb only binds
>
to the loopback interface, but you can use an SSH tunnel to connect
>
with your desktop/laptop:
>
ssh -L 5984:localhost:5984
>
>
>
From there, select the chef database, then use the "views" drop down
>
box to navigate to the web UI users view and find and delete the
>
admin. Restarting the webui server should recreate it with the default
>
password after that.
>
>
HTH,
>
Dan DeLeo
>
>
>
>
> Thanks,
>
> Landon
>
>
>
Archive powered by MHonArc 2.6.16.