Reset password tool for the EmonPi

I've added a small tool to usefulscripts for resetting the emoncms password on an emonpi via command line. It requires SSH access to use.

to install and use first SSH into your EmonPi or EmonBase:

install or pull latest usefulscripts:

git clone
cd usefulscripts
php resetpassword.php

It then asks for the userid (default:1) and for a new password or option to auto generate:

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