• 1 Post
  • 5 Comments
Joined 10 months ago
cake
Cake day: November 26th, 2023

help-circle
  • I faced this issue just now, if you are willing to get your hands dirty, do can do this:

    1. Create a new user with the new password from the UI
    2. Backup the SQLite database, just copying it should be enough.
    3. Open the database with sqlite, I used the cli:

    sqlite3 db.sqlite
    
    1. Get the password hash and salt from the new user (assuming it to be test) and note these values, they will look like random characters

      select password from user where name=‘test’; select salt from user where name=‘test’;

    2. Set the above values to the original user (assuming it to be admin)

      update user set password=‘’, salt=‘’ where name=‘admin’;

    I did all the above just to avoid setting up everything again. You be the judge if its worth the trouble. I am new to homarr so I am not sure if there is an easier hack for this, without setting up everything again.

    You can do this from an sqlite UI editor as well I guess.




  • VPN in a VM is a great use case, Especially if you bought a cheapo VPN to sail the seas but you don’t trust it enough to send your banking traffic through it. I think your ISP is a better bet than a commercial VPN for most really critical stuff. Take into consideration your country/ISP/VPN/threat model etc, of course.

    On a tangent, I do this on my home server which I use to download linux ISOs, as well. Just for anyone reading this comment there is a cool project called Gluetun which lets you run your vpn in a container and route traffic from other containers through the VPN container.