• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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.5k 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.
  • A
    AdminX
    last edited by Aug 24, 2013, 2:25 AM

    Good day!

    Im using version 2.0.3 x86. Ive just set the pfsense console password via webgui in System>Advanced> then check password protect console menu. After setting Ive notice that on next day the console  stop in "bootup Complete" message not showing all the menus. Ive unchecked the "password protect console menu" again but still nothing happens. Is there a way to reset it back?

    Thank you!

    1 Reply Last reply Reply Quote 0
    • D
      doktornotor Banned
      last edited by Aug 24, 2013, 4:44 AM

      Should be a FAQ I guess? There's nothing stuck. You cannot have a shell script as password-protected shell. Run /etc/rc.initial to get the menu!

      1 Reply Last reply Reply Quote 0
      • A
        AdminX
        last edited by Aug 27, 2013, 12:43 AM Aug 27, 2013, 12:38 AM

        thank you doktornotor!

        But when I execute this command in Diagnostics>Command Prompt> like:
        /etc/rc.initial> then Press execute, nothing happens, It just loads continuously?  Is my syntax correct?

        Thank you!

        1 Reply Last reply Reply Quote 0
        • K
          kejianshi
          last edited by Aug 27, 2013, 3:23 AM

          Password protected console doesn't actually offer much in the way of protection.  When I told someone a while ago that if he wanted to make sure his pfsense wouldn't be tampered with he should lock it in a box, I wasn't joking.

          Locking the console is about as much protection as locking a screen door on a house…

          1 Reply Last reply Reply Quote 0
          • D
            doktornotor Banned
            last edited by Aug 27, 2013, 7:17 AM

            @AdminX:

            But when I execute this command in Diagnostics>Command Prompt> like:
            /etc/rc.initial> then Press execute, nothing happens, It just loads continuously?  Is my syntax correct?

            No… the > certainly does not belong there.

            1 Reply Last reply Reply Quote 0
            • A
              AdminX
              last edited by Aug 27, 2013, 9:08 AM

              thank you doktornotor!

              I tried /etc/rc.initial in Diagnostics>Command Prompt then press execute.. but the page is loading continuously without any result..

              Ive notice this in the address bar. http://192.168.10.6/exec.php

              1 Reply Last reply Reply Quote 0
              • D
                doktornotor Banned
                last edited by Aug 27, 2013, 12:50 PM Aug 27, 2013, 12:08 PM

                Uh eh huh? No, you don't run this from the webconfiguration webgui! Use SSH or (serial) console!

                1 Reply Last reply Reply Quote 0
                • K
                  kejianshi
                  last edited by Aug 27, 2013, 12:22 PM

                  I totally missed that - Good catch…
                  And good for a giggle.

                  I've noticed that LOTS of people who lock the console have issue afterwards.

                  1 Reply Last reply Reply Quote 0
                  • D
                    doktornotor Banned
                    last edited by Aug 27, 2013, 12:51 PM

                    Never thought people would try to run this in webgui either; LOL.

                    1 Reply Last reply Reply Quote 0
                    • S
                      stephenw10 Netgate Administrator
                      last edited by Aug 27, 2013, 1:33 PM

                      Out of interest what hardware is this running? Some specific hardware freezes at that point for some unknown reason.

                      Steve

                      1 Reply Last reply Reply Quote 0
                      • A
                        AdminX
                        last edited by Aug 28, 2013, 8:53 AM Aug 28, 2013, 8:42 AM

                        thank you gentlemen for giving time! Forgive me if Im still newbie, I know you've been there before also..:)

                        I have figured it out.

                        Here is what I did. Enable Secure Shell in System>Advanced using default port 22. I used Putty to get access to SSH. It shows me the pfsese menu right there. Here is my screenshot:

                        Now Ive pressed 8(Shell), then fired in /etc/rc.initial. It shows me the menu ofcourse. But in my pfsense console, I still got these image? Which does not show the menu? only until Bootup Complete. Ive already restarted my PfsenseBox but nothing happens.

                        Any Idea about this?

                        My hardware:

                        Intel I3 processor
                        ASUS MB
                        SATA 500gb hardisk
                        PfsenseBox Running in Oracle VirtualBox

                        1 Reply Last reply Reply Quote 0
                        • D
                          doktornotor Banned
                          last edited by Aug 28, 2013, 8:48 AM Aug 28, 2013, 8:46 AM

                          Of course it does NOT show the menu on the physical console… I don't see how much more explicitly this should be said? That is the whole point of getting it password protected. What did you expect? Now, press enter, log on and then you can run /etc/rc.initial to see then menu.

                          1 Reply Last reply Reply Quote 0
                          • A
                            AdminX
                            last edited by Aug 28, 2013, 8:59 AM Aug 28, 2013, 8:56 AM

                            I want the menu to be available in physical console. Not by using SSH. The menu should be available on the physical console because Ive disabled the option in system>advanced>password protect the console menu

                            1 Reply Last reply Reply Quote 0
                            • K
                              kejianshi
                              last edited by Aug 28, 2013, 9:06 AM

                              Steady there killer…

                              1 Reply Last reply Reply Quote 0
                              • K
                                kejianshi
                                last edited by Aug 28, 2013, 9:07 AM

                                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 Aug 28, 2013, 9:11 AM

                                  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 Aug 28, 2013, 9:16 AM

                                    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 Aug 28, 2013, 9:25 AM

                                      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
                                      • S
                                        stephenw10 Netgate Administrator
                                        last edited by Aug 28, 2013, 9:38 AM

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

                                        Steve

                                        1 Reply Last reply Reply Quote 0
                                        • A
                                          AdminX
                                          last edited by Aug 28, 2013, 9:42 AM

                                          @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
                                          1 out of 25
                                          • First post
                                            1/25
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received