restore backup on server with difficult_passwords enabled

fabbietto

Verified User
Joined
Mar 2, 2010
Messages
18
Hi,

i have a problem making a backup on a server (server 1) with difficult_passwords option disabled to a server (server 2) that has this option enabled.

If my users decided to use a very stupid password like 123456 for his database's username on server 1, i can't restore his backup on server 2 because directadmin can't recreate the db username with the same simply password choosen on server 1.

Now i disable difficult_passwords on server 2 but i dont' like to leave this option disable for new user, i think this is an information that can be present in the backup file, so the new server (server 2) finding this information can "decide" to use or not the difficult_passwords options.

Anyone has an idea or workaround ?
 
Hello,

Do you often restore accounts? You might want to disable difficult_passwords only on a short period to restore accounts.
 
the problem is that i began a big migration from old servers to a new server version with different options and configurations (php,mysql,ecc), this kind of upgrade is choosen by thousand of costumer and i dont' know when they decided to do it :(
 
And what? How much is a chance that anybody would want to change any password while difficult_passwords is temporary switched off for a migration?

You might want to block temporary port of directadmin until migration is done.
 
If my users decided to use a very stupid password like 123456 for his database's username on server 1, i can't restore his backup on server 2 because directadmin can't recreate the db username with the same simply password choosen on server 1.
What errors are you getting specifically? All passwords are one-way encoded.. and shouldn't be run through the difficult checker on restore...since they're encrypted. The restore should just be setting the crypted passwords into their places... DA has no way of knowing what the password actually is.. so shouldn't claim it's "bad". Let me know what you're getting and I'll check into it.

John
 
Back
Top