Hello James, thanks for this little trick.

I will put this in the toolbox.

As it turned out I suspect because of the all-new upgrade to 2.6.2 I
also got a new default username in the properties file. 

I tried the default password and it let me in.

I of course was able to recreate my old usename and the exported .zip
restored all of my old entries after one year just as if I had never
gone offline.

Thanks to the Pebble community!

BTW: I now have an unusual issue with this error:

***************************************************************
Error while starting e-mail subscription listener - add mail.jar and
activation.jar to the server classpath if you want to enable this
listener.
***************************************************************

I ran a find on the Tomcat directory at (dot) . and this is what was
returned:

***************************************************************
./webapps/WEB-INF/lib/activation.jar
./webapps/WEB-INF/lib/mail.jar
***************************************************************

Please advise, David.


On Sun, 2012-04-08 at 14:20 +0200, James Roper wrote:
> 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



------------------------------------------------------------------------------
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

Reply via email to