Navigation

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

    Access developer shell via ssh

    2.0-RC Snapshot Feedback and Problems - RETIRED
    4
    6
    2560
    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
      ericx last edited by

      Stupid question, but I can't seem to search up an answer.

      How do I access the developer shell via ssh?

      You don't get the console menu when you ssh into a 2.0 pfSense anymore. Where's the menu script? I can probably parse that and find what I want.

      Thanks for your time.

      1 Reply Last reply Reply Quote 0
      • M
        Michael Sh. last edited by

        /etc/rc.initial

        is default shell for user admin.

        1 Reply Last reply Reply Quote 0
        • E
          ericx last edited by

          Thanks.

          oh… look at that. My login has tcsh instead.

          I guess I've run into this before, but forgot. I keep assuming any login added to the admin group has full permissions, but 'admin' is really the only admin.

          1 Reply Last reply Reply Quote 0
          • jimp
            jimp Rebel Alliance Developer Netgate last edited by

            If you want other logins to have admin/root permissions, you'll need to pkg_add -r sudo, and then setup the sudoers file to allow everyone to have sudo access.

            Otherwise, other users will not have enough permissions to run many of the commands on the menu.

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • R
              rcfa last edited by

              @jimp:

              If you want other logins to have admin/root permissions, you'll need to pkg_add -r sudo, and then setup the sudoers file to allow everyone to have sudo access.

              Otherwise, other users will not have enough permissions to run many of the commands on the menu.

              I think that would be rather useful to include standard, in a way that on the user manager page one could turn on/off this sort of capability.

              Otherwise, it is one of these obscure things that will lead periodically to the same question being asked over and over, because it's just too obscure for the non-initiated.

              1 Reply Last reply Reply Quote 0
              • jimp
                jimp Rebel Alliance Developer Netgate last edited by

                I think there are plans to include it by 2.0, but it's hard to say for sure at this point. It's easily added, and it would be something that some people may not want, so there are some considerations to be taken there.

                As it is, even without sudo, you should consider every shell user as having root access, due to the info found in files on the firewall that are world readable for various reasons. So only those you'd trust with admin access to the firewall should have shell access.

                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

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