mirror of
https://github.com/bigbeartechworld/big-bear-scripts.git
synced 2026-05-28 02:32:37 -04:00
7bc592ad4a5cef02771a7e5fe4749074dc33490f
* ✨🔑 feat(reset-password): Add fallback for missing user.db This change adds a fallback mechanism to handle cases where the `/var/lib/casaos/db/user.db` file is not found. If the file is missing, the script attempts to check if the file exists in an alternative location. If found, it backs up the file and restarts the CasaOS user service to ensure the password reset functionality works correctly. * 🔐 feat(reset-password-for-casaos): Remove user.db existence check and provide alternative method The changes remove the check for the existence of the `user.db` file and provide an alternative method to handle the case where the file is not found. This change is intended to make the password reset process more robust and accommodate systems where the `user.db` file may not be present.
BigBearScripts
YouTube Link: https://www.youtube.com/@bigbeartechworld
BigBearCommunity
If you have a suggestion for a video, post in the BigBearCommunity.
Support My Work
Languages
Shell
99.2%
JavaScript
0.8%