[Tfug] Migrating users....

Chris Hill chris at enemyhideout.com
Sat Aug 22 16:38:02 MST 2009


Zack Williams wrote:
> On Sat, Aug 22, 2009 at 4:24 PM, Chris Hill<chris at enemyhideout.com> wrote:
>   
>> I'm migrating a large number of users (45) from one machine to another. I
>> have been told by the sysadmin of the new machine that the old passwords
>> won't work on the new machine because the hash of the pass in /etc/shadow
>> uses a machine-specific seed that won't be on the new machine. I haven't
>> done this in a loooong time but I don't think I've had this problem before.
>> Is this going to be an issue?
>>     
>
> Depends greatly on your source/destination OS and the format of the
> password files.  What are you going from/to?
>
>   
 From an old redhat linux box with crypt()-ed passwords to a mysql-based 
auth system within PureFTP on BSD.

Here's a hash:

$1$14240667$QobeQjyHmRUzU4fHlo1Yw0

$MD5$SALT$HASH

According to pureftpd the password field can be:

'in plaintext, MD5, crypt()ed or MySQL's password()'

So I don't see a problem but this sysadmin is saying I won't be able to 
use the /etc/shadow hashes on the new machine...

> Is there a reason you're not using a centralized directory system (LDAP, etc.)?
>
>   
Yes.




More information about the tfug mailing list