It then asks for the userid (default:1) and for a new password or option to auto generate:
=======================================
EMONCMS PASSWORD RESET
=======================================
Select userid, or press enter for default:
Using default user 1
Enter new password, or press enter to auto generate:
Auto generated password: 9f7599c8da
Complete: new password set
Reset password tool for the EmonPi
Submitted by TrystanLea on Tue, 09/02/2016 - 15:51I've added a small tool to usefulscripts for resetting the emoncms password on an emonpi via command line. It requires SSH access to use.
https://github.com/emoncms/usefulscripts/blob/master/resetpassword.php
to install and use first SSH into your EmonPi or EmonBase:
install or pull latest usefulscripts:
git clone https://github.com/emoncms/usefulscripts.git
cd usefulscripts
php resetpassword.php
It then asks for the userid (default:1) and for a new password or option to auto generate:
=======================================
EMONCMS PASSWORD RESET
=======================================
Select userid, or press enter for default:
Using default user 1
Enter new password, or press enter to auto generate:
Auto generated password: 9f7599c8da
Complete: new password set