• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Lost/Forgot my Admin Login

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I have forgotton my Admin password. How can I get this pwd back. I use the Tomcat with the hsqldb- database.

THanks

[originally posted on jforum.net by mikocando]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Passwords are not stored directly in the database but rather as an MD5 hash of the password. If you know the password of any user - for example, you when you post on your forum - you will be able to update the database and set the user_password field to your password. Then you can change it.

Do do this you'll need to use some sort of tool to be able to select from and insert into the database. I'm afraid that I'm not at all familiar with hsqldb so I'm not familiar the command line tools. I have a command line database interface that might work though I haven't tested it with hsqldb.
[originally posted on jforum.net by stdunbar]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!