XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Remove/Reset TOTP 2FA

    Scheduled Pinned Locked Moved Xen Orchestra
    mfa2fatotp
    5 Posts 2 Posters 545 Views 1 Watching
    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.
    • SchmalzTechS Offline
      SchmalzTech
      last edited by

      Long story short, the only key for one of my installs was inadvertently destroyed. Is there a quick way to disable TOTP temporarily from the command line?

      1 Reply Last reply Reply Quote 0
      • DanpD Offline
        Danp Pro Support Team
        last edited by

        If you have a different Admin user, then you can use it to login and remove the OTP under Settings > Users.

        SchmalzTechS 1 Reply Last reply Reply Quote 0
        • SchmalzTechS Offline
          SchmalzTech @Danp
          last edited by

          @Danp Unfortunately, there is only one user account. Might be quickest to stand up another instance. The only annoyance will be that I would lose the backup jobs.

          1 Reply Last reply Reply Quote 0
          • DanpD Offline
            Danp Pro Support Team
            last edited by

            You may be able to remove the OTP setting using xo-cli, but I'm unsure of the exact syntax.

            1 Reply Last reply Reply Quote 0
            • DanpD Offline
              Danp Pro Support Team
              last edited by

              Another option is to add a new admin user using xo-cli. Then login to XO as the new user and clear the OTP for the existing user.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post