[Voyage-linux] MPD web client password reset

Darshaka Pathirana (spam-protected)
Mon Jan 14 06:43:45 HKT 2013


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



More information about the Voyage-linux mailing list