[Voyage-linux] MPD web client password reset

Bartola (spam-protected)
Tue Jan 15 03:55:09 HKT 2013


Thanks Darsha!
On 13 Jan 2013, at 22:43, Darshaka Pathirana wrote:

> On 01/13/2013 09:07 PM, Bartola wrote:
>> I found the Libelium user file here:
>> 
>> root at voyage:/var/www/core/globals# more users.php
>> <?php
>> 
>> $authorized_users = Array(
>>     'root' =>  '$1$hsP9n7K4$s3iE.gIlAKTmTykPH3Byt1',
>> );
>> 
>> ?>
>> 
>> Anyone knows how to change the password?
> 
> Try replacing the md5-hash (within the single-quotation marks) with a
> new one:
> 
> # echo "mynewpassword" | makepasswd --crypt-md5 --clearfrom=- | awk '{print $2}'
> 
> Regards
> - Darsha
> 
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux




More information about the Voyage-linux mailing list