How to reset Snapt Aria's admin password

In order to reset the admin password to "admin" you need to manually edit the database on the device.

Important! The path may be /srv/www/htdocs/db/, or /usr/local/snapt/program/db

cd /srv/www/htdocs/db/
sqlite3 snapt.db

Once inside run .explain --

sqlite> .explain

Then run the following to have a look --

select * from users;

The password is hashed but it will show you the username. Most importantly you want the id of your admin user (normally 1)

You can run this --

update users set password='d033e22ae348aeb5660fc2140aec35850c4da997' where id=1;

To revert the password to admin. Make sure you are root (su - with password snapt) beforehand.