Hi Joe,
Hi Folks:
I recently decided to change the cobbler password and found that the
comment from "cobbler check" didn't really help. The comment said:
2 : The default password used by the sample templates for newly
installed machines
(default_password_crypted in /etc/cobbler/settings) is still set
to 'cobbler'
and should be changed, try:
"openssl passwd -1 -salt 'random-phrase-here'
'your-password-here'" to generate new one
So I ran:
% openssl passwd -1 'testit'
<value>
and cut-n-pasted the <value> to the "default_password_crypted:" field in
/etc/cobbler/settings and updated everything:
% service cobblerd restart
% cobbler sync
Unfortunately this didn't fix anything and I still couldn't log into the
web interface with the new password. Note that I also tried using a salt
but that didn't help either. I chose no salt for my initial test because
the default entry did not use a salt.
I finally got it to work using htdigest as follows:
% htdigest /etc/cobbler/users.digest "Cobbler" cobbler
New password: testit
Re-type new password: testit
% htdigest /etc/cobbler/users.digest "Cobbler" jlinoff
Adding user jlinoff in realm Cobbler
New password: testit1
Re-type new password: testit1
What does the default_password_crypted field do?
Best regards,
Joe
_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler