Hi David,
To change your password via the command line, you first need to
generate a password hash. This can be done by running:
echo -n 'yournewpassword{yourusername}' | openssl dgst -sha1
for example, for username "james" and password "abc123":
echo -n 'abc123{james}' | openssl dgst -sha1
That will produce something like this:
(stdin)= fc1c32f46e7b64df8d5ff8014d1c23d3b71612ef
Then, in the file $PEBBLEHOME/realm/yourusername.properties, there is
a password property. Replace the value with the hex number above, eg,
in james.properties:
password=fc1c32f46e7b64df8d5ff8014d1c23d3b71612ef
Cheers,
James
On 7 April 2012 23:26, David Brown <[email protected]> wrote:
> Hey Olaf, James and Pebblers, after a couple of years with my pebble off
> the server I recently found my old entries exported as a .zip.
>
> Congrats to all. The export .zip works perfectly with the new 2.6.2. All
> entries appear to be in place.
>
> The only gotcha is after the past 2 or 3 years w/o logging in I have
> forgotten my password and though the new 2.6.2 has the modern login with
> OpenID and Google I would rather avoid that approach.
>
> I have my new Pebble on a so-called cloud slice with ssh access.
>
> Is there some hack or direct option I can invoke to change the password
> at the shell command-line?
>
> The particulars follow.
>
> Thanks in advance and please advise, David.
>
> **********************************************************************
> Pebble: 2.6.2
> Tomcat: 6.0.29
> JDK: 1.6.0_26
>
>
> ------------------------------------------------------------------------------
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> _______________________________________________
> Pebble-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pebble-user
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Pebble-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pebble-user