Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I've followed the guide going around about migrating linux user accounts over to a new system. All seemed to go ok, I didn't toast the /etc/passwd or /etc/shadow files and home directories look right. But one thing I did notice is that the migrated /etc/shadow entries are a much smaller strings, and one user that tried so far is not able to login. I have not confirmed this myself though. I am going from Fedora Core 2 (yes) to 14. Since there is a 32bit vs. 64bit difference also I wonder if that affects the generation of the has in the /etc/shadow and if the old entires can be reused.

Is there a way to migrate/convert the old passwords to the new system? As I would prefer not to make everyone reset their password if not truly necessary. Or should the old entries work fine and something else is wrong?

share|improve this question

1 Answer 1

Authdb entries are uniform across architectures, although certain algorithms may only be supported on certain distros. Different algorithms will produce entries of different lengths, but that would not be an issue per se.

share|improve this answer
    
Indeed it appears the old entries '$1$' (MD5) and manually created new are '$6$ (SHA-512). –  bobtheowl2 May 6 '11 at 2:20

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.