# Bulk importing unix crypt(1) md5 passwords

**URL:** <https://community.auth0.com/t/bulk-importing-unix-crypt-1-md5-passwords/71940>\
**Category:** Get Help\
**Tags:** migrate-users\
**Created:** [October 24, 2021, 6:07pm UTC](https://community.auth0.com/t/bulk-importing-unix-crypt-1-md5-passwords/71940 "2021-10-24T18:07:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![teasel.ian](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/teasel.ian/32/32555_2.png) [@teasel.ian](https://community.auth0.com/u/teasel.ian)\
**Post date:** [October 24, 2021, 6:07pm UTC](https://community.auth0.com/t/bulk-importing-unix-crypt-1-md5-passwords/71940/1 "2021-10-24T18:07:23Z")

</div>

Hi, does anyone know if it’s possible to bulk import users with a custom\_password\_hash from the MD5 schema of the posix crypt(1) function?

The password hashes I have look like…  
`$1$saltsalt$qjXMvbEw8oaL.CzflDtaK/`  
…and were created by something like eg…  
`echo password | openssl passwd -1 -salt 'saltsalt' -stdin`  
…or…  
`php -r "print (crypt('password', '\$1\$saltsalt'));"`

I can’t find this schema in the [docs](https://auth0.com/docs/users/import-and-export-users/bulk-user-import-database-schema-and-examples), but it’s reasonably standard, at least in older systems, so I was wondering whether I was missing something, or maybe whether there’s an ETA for auth0 supporting it.

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [October 25, 2021, 6:45pm UTC](https://community.auth0.com/t/bulk-importing-unix-crypt-1-md5-passwords/71940/3 "2021-10-25T18:45:11Z")

</div>

Hi @teasel.ian,

Welcome to the Auth0 Community!

I understand that you have questions regarding bulk importing your users.

First, it is possible to [use `MD5`](https://auth0.com/docs/users/import-and-export-users/bulk-user-import-database-schema-and-examples#md-or-sha) as your custom password hashing algorithm. You’ll also be able to specify the `salt` value used to generate the hash.

In the [example schema](https://auth0.com/docs/users/import-and-export-users/bulk-user-import-database-schema-and-examples), look for the `hash` and `salt` objects in the `custom_password_hash` object. Defining these values according to your custom password hash should allow you to import your users.

Please let me know if you have any further questions or concerns.

Thank you.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [December 6, 2021, 11:49pm UTC](https://community.auth0.com/t/bulk-importing-unix-crypt-1-md5-passwords/71940/4 "2021-12-06T23:49:43Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
