chef user lost password?

Kiyor
2016年06月07日 10:07
sudo -u opscode-pgsql  /opt/opscode/embedded/bin/psql opscode_chef

select username,hashed_password,salt,email from users;
#copy your known username's password and salt
update users set hashed_password = 'xxx',salt = 'xxx' where username = 'xxx';
AI Smart Recommendations
Based on Semantic Similarity

AI is analyzing article content to find similar articles...

More Articles

View more exciting content

About Blog

Tech sharing and life insights