I use admin backup transfer to Backup from CentOS 5.11 and restore on CentOS 7.5
After restore user can not login via directadmin, the password is setting incorrectly in the /etc/shadow
I have check /etc/shadow and found that on centos 7.x it change encryption method as below
after restore directadmin set the hash from centos 5 into shadow file on centos 7 then the hash is incorrect to use.
Is it passible for directadmin to fix this in new version, or it is impossible.
Can I change the encryption method on centos 7 to match centos 5 before restore file?
Can I change encryption method without regenerate a new password for each user?
After restore user can not login via directadmin, the password is setting incorrectly in the /etc/shadow
I have check /etc/shadow and found that on centos 7.x it change encryption method as below
Code:
CentOS 5
user1:!$1$m6SV7a8C$Csd55RXascJDJire/TUFa.:17663:0:99999:7:::
CentOS 7
user1:$6$xutr4nmA$0yXyH4KGU9Cz1fBpD72b5fq0XasdfKzqqu73rU/ue.qZzlPldgzxc.qDcjhFTY2DuRIUgmDBoInAdBtP.0I3n/:17663:0:99999:7:::
after restore directadmin set the hash from centos 5 into shadow file on centos 7 then the hash is incorrect to use.
Is it passible for directadmin to fix this in new version, or it is impossible.
Can I change the encryption method on centos 7 to match centos 5 before restore file?
Can I change encryption method without regenerate a new password for each user?