• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Lost/Forgot my Admin Login

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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]
 
Hey, sticks and stones baby. And maybe a wee mention of my stuff:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic