Skip to content

Change database password

Jens Heine edited this page Mar 9, 2024 · 2 revisions

To change the password of the current database, use the command changepassword.

[p.db] pshell> changepassword
Enter new database password   : ***
Confirm new database password : ***
Re-encrypting 1 accounts...
Re-encrypting 0 account history entries...
Re-encrypting 2 deleted account entries...
Re-encrypting 10 shell history entries...
Re-encrypting 0 alias entries...
Re-encrypting 2 executeonstart/-stop commands...
 73% |########################################################################                     |

Note: If you change the password of a database with a lot of entries and your cpu is slow, this might take a while.

Clone this wiki locally