Can't login to chef-webui


#1

I’m running chef in this environment

chef-server 1.0.12
chef-client 0.8.10
Ubuntu 9.10

I had to log into the chef webui for the first time today since April.
It wouldn’t accept my openid login. I verified my login with myopenid
just this morning.

Is there any way I can retrieve a lost login, or login through a
backdoor to reset my credential or anything like that?

Thanks.


#2

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ohai!

On Jan 23, 2011, at 11:04 PM, Laran Evans wrote:

I’m running chef in this environment

chef-server 1.0.12
chef-client 0.8.10
Ubuntu 9.10

I had to log into the chef webui for the first time today since April.
It wouldn’t accept my openid login. I verified my login with myopenid
just this morning.

Is there any way I can retrieve a lost login, or login through a
backdoor to reset my credential or anything like that?

Check that the openids haven’t been restricted in the Chef Server configuration, and that OpenID is still an allowed login method for the server.

The configuration options specific for the webui are documented here:

http://wiki.opscode.com/display/chef/Chef+Configuration+Settings#ChefConfigurationSettings-webuioptions

You can view the allowed openids for users by querying the couchdb database directly. For example:

curl http://localhost:5984/chef/_design/users/_view/all
{“total_rows”:2,“offset”:0,“rows”:[
{“id”:“0d2dfc8f-c025-465b-8898-e58ffa2817e5”,“key”:“admin”,“value”:{"_id":“0d2dfc8f-c025-465b-8898-e58ffa2817e5”,"_rev":“1-6d8834f8156c455a7ea7eb86dcc9ea3b”,“salt”:“Tue Mar 16 15:54:38 -0600 2010YTgEXVRQS4KQcBrx62sIiMxmVZmOwB”,“name”:“admin”,“json_class”:“Chef::WebUIUser”,“admin”:true,“openid”:“http://YOU.myopenid.com/",“password”:“72239514dce8ed851bc8390c7df412b197f55a0d”,“chef_type”:"webui_user”}},


Opscode, Inc
Joshua Timberman, Technical Evangelist
IRC, Skype, Twitter, Github: jtimberman

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)

iEYEARECAAYFAk09KZQACgkQO97WSdVpzT2LGQCfUhCQSJhNn5uchU7qS2GWW9CS
P/AAnjQnupkzGbgkh09U8MCT9WvfTqus
=FJ2Q
-----END PGP SIGNATURE-----