drop plinth's own password db, to allow using CLI action for resetting
There is a CLI command to reset a forgotten freedombox admin password in LDAP, available from SSH as root (freedombox package installs) or rescue system (physical access):
/usr/share/plinth/actions/users set-user-password <username>
However, plinth itself still keeps a separate password store in sqlite. So a new password won't work until it is also re-set in sqlite, using a special python script (see "reset" in FAQ).
To make things work as intended,
-
plinth needs to drop using its own passwords in sqlite in favor of LDAP, -
then the script can be removed from the FAQ.
Original question: Is there a way to reset a forgotten plinth password from the SSH root login?
Edited by Q.-A. Nick