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';
chef user lost password?
Kiyor
2016年06月07日 10:07