osTicket: Reset User Password via SQL

From wiki.jacobjohns.com
Revision as of 16:06, 27 July 2024 by Jjohns (talk | contribs) (5 revisions imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


  1. Connect to the osTicket database on the osTicket host.
    • sudo mysql
  2. Show databases.
    • SHOW databases;
  3. Use the osTicket database.
    • USE osticket_database;
  4. Show tables and look for _staff.
    • SHOW tables;
  5. Change the password for the desired user.
    • update _staff set passwd=MD5('NEW_PASSWORD') Where username='USERNAME';
  6. Test the logon at the user interface.