Modifying the password?
I'm trying to do a fresh ezPublish install (my first experience with the software). The basic installation fails with a meaningless error. (Okay, I know that `could not install add-on package “Contact Us.”` means *something,* but it's pretty useless, really). So I followed the steps to create a manual installation. The admin user account is still in place from my failed automated install, though it's not accepting the password.
Now, the password is encrypted with hash function #2. What on earth does that mean? I just want to reset the password to see whether I typed it in wrong or something else equally silly.
Comments (2 historical)
Written by readers of the earlier documentation sites, kept as they were.
Re: Modifying the password?
Hello World ·
UPDATE ezuser SET password_hash="publish", password_hash_type=5 WHERE contentobject_id=14;
Re: Modifying the password?
Kristian Hole ·
On a standard installation the password_hash is a md5sum of the username and password, you generate it like this:
$> echo -n -e "admin\npublish"|md5sum
c78e3b0f3d9244ed8c6d1c29464bdff9
and then in MySQL:
UPDATE ezuser SET password_hash='c78e3b0f3d9244ed8c6d1c29464bdff9' WHERE login='admin'