When using the account transfer tool, warn when the password hash contains an underscore
On CentOS 5 somes password hash's in /etc/shadow and in /home/*/etc/*/shadow contain underscores,
When you transfer an account with a hash that contains an underscore to a CentOS 6 server the transfer tool detects that the hash is wrong and generates a random password giving the following warning :
We would like to be warned about this issue before starting the transfers so we can change the users password avec give them a new password before starting the transfer process so that the user is able to log in after the transfer.
It's possible to check this with the following commads :
When you know about it it's easy to check but in order to make the transfer user experience more user friendly, the check could be run automaticaly before the user launchs the transfer, maybe even allowing the user to specify a new password in the transfer tool interface.