Skip to content

evolvedbinary/existdb-set-password

Repository files navigation

eXist-db Set Password Utility

Build Status Java 17 License

A utility that allows you to set the password of an eXist-db user account. It only requires access to the eXist-db on disk data folder and config file (conf.xml).

This can be useful if you are working with an eXist-db database, and you no longer know the password.

NOTE eXist-db must not be running when you execute this utility!

Building from Source

git clone https://github.com/evolvedbinary/existdb-set-password.git
cd existdb-set-password
mvn clean package -P6

If you wish to build a version compatible with a different version of eXist-db, just replace the 6 in -P6 with the major version of eXist-db that you need.

Example - Set the password of the admin user

Assuming that $EXIST_HOME points to an exist-db 6.x.x installation where you wish to change the password of the Admin user.

existdb-set-password-cli/target/appassembly/bin/existdb-set-password.sh \
    --existdb-version 6 \
    --existdb-conf $EXIST_HOME/etc/conf.xml
    --username admin --password MY-NEW-PASSWORD

About

Set the password of an eXist-db user account

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages