[chef] Re: Lost Admin Password


Chronological Thread 
  • From: Daniel DeLeo < >
  • To:
  • Subject: [chef] Re: Lost Admin Password
  • Date: Thu, 15 Jul 2010 21:10:01 -0700

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.

§