Resetting the Snapt Aria Admin Password
  • 21 Sep 2021
  • 1 Minute to read
  • Dark
    Light

Resetting the Snapt Aria Admin Password

  • Dark
    Light

How to Reset your Snapt Aria UI password via the SSH console:

In order to reset the Snapt Aria 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/

OR

/usr/local/snapt/program/db

Enterthe database:

sudo sqlite3 snapt.db

Once inside run .explain —

sqlite> .explain

Then run the following to have a look at current users —

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)

Then 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.