Monster
    Storware Backup & Recovery
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Reset admin pa*sword

    Scheduled Pinned Locked Moved Other
    3 Posts 2 Posters 779 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K Offline
      KLM
      last edited by KLM

      I've just installed fresh vprotect server using all-in-one script.
      Documentation link

      Have exported SBR_ADMIN_PA*S and SBR_DB_PA*S variables in advance.

      After the installation, i can't login neither with default pa*sword (vPr0tect),
      nor with SBR_ADMIN_PA*S value.

      Web UI error is: Provided credentials are incorrect (login or/and pa*sword)

      CLI error is:
      vprotect login -u admin
      Enter admin pa*s:
      ERROR: Provided credential is incorrect

      Is it possible to reset admin pa*sword from CLI,
      or some other ways?

      1 Reply Last reply Reply Quote 0
      • D Offline
        djaw
        last edited by

        Hi @KLM ,

        1. login to MySQL on Storware Backup & Recovery server host
          mysql -uroot -p vprotect

        2. find GUID of the admin account, by default, it is '1'
          MariaDB [vprotect]> select * from appuser where login = 'admin'\G

        3. update the password for this user, this should reset it to “vPr0tect”
          update appuser set PASSWORD = "$2a$07$l5ucy8fi8iMXuVvjBtFWh.24qBF1nBYpW0HbQg6uDY23attku2pDa" where GUID = "1";

        K 1 Reply Last reply Reply Quote 1
        • K Offline
          KLM @djaw
          last edited by

          @djaw Thank you for the solution!
          I'll try it!

          1 Reply Last reply Reply Quote 0
          • adminA admin locked this topic on
          • First post
            Last post