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

    webConfigurator authentication error

    webGUI
    3
    8
    1.8k
    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.
    • E
      Eugene_Tar
      last edited by

      Hi!
      

      There is a problem with access to the web configurator. Authentication failed on any login. Did a password reset, restart of services (menu items 3, 11, 16). Does not allow access to the web with default admin/pfsense values. Though on ssh access with these values is.


      *** Welcome to pfSense 2.7.0-RELEASE (amd64) on prod-vpn-ovpn1 ***

      WAN (wan) -> vmx0 -> v4/DHCP4: ***

      1. Logout (SSH only) 9) pfTop
      2. Assign Interfaces 10) Filter Logs
      3. Set interface(s) IP address 11) Restart webConfigurator
      4. Reset webConfigurator password 12) PHP shell + pfSense tools
      5. Reset to factory defaults 13) Update from console
      6. Reboot system 14) Disable Secure Shell (sshd)
      7. Halt system 15) Restore recent configuration
      8. Ping host 16) Restart PHP-FPM
      9. Shell

      Enter an option:
      Message from syslogd@prod-vpn-ovpn1 at Aug 16 14:43:38 ...
      php-fpm[47801]: /index.php: webConfigurator authentication error for user 'admin' from: ***


      What could be the problem?

      the otherT 1 Reply Last reply Reply Quote 0
      • the otherT
        the other @Eugene_Tar
        last edited by

        @Eugene_Tar
        hey there,
        do you have login protection active?
        Under System > Advanced > admin access it can be found...
        So, maybe you just tried too many times wirth a wrong password and are now blocked from loggin in for that special IP?

        the other

        pure amateur home user, no business or professional background
        please excuse poor english skills and typpoz :)

        GertjanG E 2 Replies Last reply Reply Quote 0
        • GertjanG
          Gertjan @the other
          last edited by Gertjan

          @the-other said in webConfigurator authentication error:

          So, maybe you just tried too many times wirth a wrong password and are now blocked from loggin in for that special IP?

          If that was the case, this protection would lists the IP into a firewall table.
          In that case there will be no more system logs, as the firewall just drops the connection, and ngnix, the pfSense webConfigurator, never sees the connection.

          This is a special case.
          The issue is situated between the chair and the keyboard, and this time : the keyboard is included.
          Example : map your French keyboard to a Spanish one (I know, why would some one do so ? Dono, but many manage to so anyway).
          Or a key is dead.
          Or the index finger has a half inch offset ...

          The user name : 'admin' is build in, and should not be tampered with.

          Use the console and change your password.
          Make it '1234'.
          And type first '1234' on a visible command line, so you can double check that the keyboard works.
          Then set '1234'.
          Then try the GUI again.

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

          E 1 Reply Last reply Reply Quote 0
          • E
            Eugene_Tar @the other
            last edited by

            @the-other said in webConfigurator authentication error:

            hey there,
            do you have login protection active?
            Under System > Advanced > admin access it can be found...
            So, maybe you just tried too many times wirth a wrong password and are now blocked from loggin in for that special IP?

            Hi!
            " Under System > Advanced > admin access it can be found..." - i can't check this without web access )) But as far as I remember, such settings were not made.

            IP blocking of course occurs after 3 such consecutive errors, but this is not it.

            It looks like the web does not see local users even after resetting the password. I tried to add new users through the shell, but they are also not allowed on the web (although there is access through ssh). I suppose that for web access the system does not use users from the shell, but some kind of database, but I can not find it.

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

              @Gertjan said in webConfigurator authentication error:

              Use the console and change your password.
              Make it '1234'.
              And type first '1234' on a visible command line, so you can double check that the keyboard works.
              Then set '1234'.
              Then try the GUI again.

              Yes, I tried changing the admin password (even root))
              Added new users, the result is the same)

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

                @Eugene_Tar said in webConfigurator authentication error:

                I suppose that for web access the system does not use users from the shell, but some kind of database, but I can not find it.

                Correct - or pretty close.

                Still, check the good old famous /etc/passwd as every OS has one since 1960, except the one from Redmond.

                The GUI, webConfigurator, uses /cf/conf/config.xml, pfSense one and only config file - just a plain text file, very readable.

                Btw : pfSense 2.7.0, right ?

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

                E 1 Reply Last reply Reply Quote 0
                • E
                  Eugene_Tar @Gertjan
                  last edited by

                  @Gertjan

                  Yes, the current version is 2.7.0. The problem started when it was 2.5.1, I updated it via the console with the hope that it would help)

                  /etc/passwd looks well:

                  admin:*:0:0::/root:/etc/rc.initial

                  but this refers to the command shell, it does not correlate much with the web)

                  Thanks for the tip on /cf/conf/config.xml, I'll try looking there.

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

                    @Eugene_Tar said in webConfigurator authentication error:

                    2.5.1

                    Oh boy. That one is ancient. Coming from that one I would (free advise !) re install, and while doing so, use the new, way better, ZFS file system.

                    @Eugene_Tar said in webConfigurator authentication error:

                    /cf/conf/config.xm

                    Make a backup copy of this file.

                    Then, from the console menu

                    1. Reset webConfigurator password

                    or even better : option 4.

                    Now the password is known and default.
                    It still doesn't work ? You're good for a complete re install. This will solve the issue for sure with just one silly side effect : we'll never known what went wrong.

                    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
                    • First post
                      Last post
                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.