Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Disabled Admin Account – Locked Out

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 3 Posters 2.8k 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.
    • I
      ipv6kid
      last edited by

      I created a new user, assigned privileges, then disabled the admin account and now the user I created is not working.

      I tried to login several times with the wrong password and Web Admin blocked me at the firewall.

      I have SSH access for some reason: How can I fix the admin account and delete the firewall rule locking me out?

      Thanks

      1 Reply Last reply Reply Quote 0
      • T
        tacfit
        last edited by

        I did something very similar. I inadvertently set my non-functional LDAP server as the user authentication method… and now I'm locked out. Really need to get back in! Help!

        1 Reply Last reply Reply Quote 0
        • GertjanG
          Gertjan
          last edited by

          What about SSH in and look (make a save copy and edit) /cf/conf/config.xml

          Find the key
          <auth_method>I have
          <auth_method>local</auth_method>

          Change, save, reboot.</auth_method>

          No "help me" PM's please. Use the forum, the community will thank you.
          Edit : and where are the logs ??

          1 Reply Last reply Reply Quote 0
          • T
            tacfit
            last edited by

            I JUST figured that out myself (by trial and error) and logged back in here to let everyone know. Thanks for posting this! If I hadn't been desperate enough to try something, you would have saved my life here.

            I learned also that to do it easier, you can just type "viconfig", which will load the config, and upon closing it will kill the cached config file, causing PFsense to reload the new config. Means you don't have to reboot.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.