Overview of migration solutions

This page collects scripts/plugins/etc. that can export data of an existing service into the import data format. This list is not intended to be complete, but if you know of additional solutions, just contact us and we will add it to the list.

htpasswd files

htpasswd files are generated by the Apache webserver (most commonly the htpasswd command) and are used for basic access authentication.

The script found in the htpasswd directory of the Migration repository converts such files into the import data format. It supports passwords encrypted with the crypt, md5 and sha1 algorithms as well plain-text passwords. Please try:

python htpasswd-export.py --help

... for usage information.

Linux systems

The script found in the linux directory of the Migration repository converts Linux system accounts into the import data format. The script automatically uses encrypted passwords from /etc/shadow if available, optionally stores the users login shell and home directory as properties and optionally adds user groups. By default, system users and system groups are skipped.

Please try:

python linux-export.py --help

... for usage information.


The script does not touch the hashes found in either /etc/passwd or /etc/shadow and assumes that RestAuth will be able to decrypt them using the crypt() function. Thus, authentication might not work if crypt() on the RestAuth server does not support the same hashing algorithms.


An extension exporting all relevant data into the restauth import data format is available in the migration repository. Please see the extension documentation for more information.


None yet.

Migration repository

You can find a git-repository that collects various migration scripts at github.com/RestAuth/migration.

Table Of Contents

Previous topic

RestAuth import data format

Next topic


This Page