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

    Console stucked after setting console password in webgui..?

    Scheduled Pinned Locked Moved General pfSense Questions
    25 Posts 4 Posters 4.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.
    • K
      kejianshi
      last edited by

      Steady there killer…

      1 Reply Last reply Reply Quote 0
      • K
        kejianshi
        last edited by

        Honestly, shortest easiest way to unscrew some little glitch is to reinstall.  Its fast.
        If you broke something, that will fix it.

        1 Reply Last reply Reply Quote 0
        • A
          AdminX
          last edited by

          I have plan to reinstall. But I don't want to loss all my settings especially my proxy server, cache settings, captive portal, etc. Any possible solution without reinstalling or losing my settings? I am willing to do.

          Thank you!

          1 Reply Last reply Reply Quote 0
          • D
            doktornotor Banned
            last edited by

            Before reinstall

            
            grep admin /etc/passwd
            
            

            and check the last field, which is the shell.

            1 Reply Last reply Reply Quote 0
            • K
              kejianshi
              last edited by

              Interesting - You have no XML backups of your configuration?

              Hmmmmmm.  Best follow doktornotor's instructions for a while.

              If you don't mind an ever so slightly short temper, he knows exactly what he is doing.

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                How are you accessing the console? Via virtual box presumably.

                Steve

                1 Reply Last reply Reply Quote 0
                • A
                  AdminX
                  last edited by

                  @stephenw10, yes via virtualbox. I have no problem these before until ive touched the option to password protect the console.

                  1 Reply Last reply Reply Quote 0
                  • A
                    AdminX
                    last edited by

                    @kejianshi, yes i have backups. and i hope if i reinstall, all will be restored as expected.

                    1 Reply Last reply Reply Quote 0
                    • A
                      AdminX
                      last edited by

                      @doktornotor:

                      Before reinstall

                      
                      grep admin /etc/passwd
                      
                      

                      and check the last field, which is the shell.

                      thank you doktornotor for the guide..should i fire these command in ssh? I got these result:

                      1 Reply Last reply Reply Quote 0
                      • K
                        kejianshi
                        last edited by

                        They will - Trust me.  I used to pull my hair out chasing down little gremlins in the system till I realized how much easier it was to wipe, reinstall and reload settings form XML file.  The only time this isn't useful is when the saved configuration was the problem, which is why I always backup XML before and after I make a major change.

                        1 Reply Last reply Reply Quote 0
                        • stephenw10S
                          stephenw10 Netgate Administrator
                          last edited by

                          I presume at that point the console is completely non-responsive, it's not possible to login?
                          It doesn't matter what shell the admin user is set to run if you can't login as admin.

                          Steve

                          1 Reply Last reply Reply Quote 0
                          • D
                            doktornotor Banned
                            last edited by

                            @stephenw10:

                            I presume at that point the console is completely non-responsive, it's not possible to login?
                            It doesn't matter what shell the admin user is set to run if you can't login as admin.

                            Yeah, the shell is correct, I just wanted to check whether toggling the GUI checkbox does actually does something or not… Sounds like completely different problem. Rather then hunting for gremlins, a quick reinstall and backup restore should sort it out if it worked before.

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