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

    user removed from wheel group after reboot

    General pfSense Questions
    4
    6
    991
    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.
    • adamwA
      adamw
      last edited by

      Hi all,

      pfSense 2.4.4, FreeBSD 11.2

      I've added a few users (with full admin access) in web GUI.

      Now trying to grant them shell root access as below:

      pw groupmod wheel -m myuser
      

      or

      pw usermod myuser -G wheel
      

      in both cases I can see myuser appended to wheel group in /etc/group but after OS reboot it disappears.

      How do I make it permanent?

      Thanks,
      Adam

      1 Reply Last reply Reply Quote 0
      • V
        viragomann
        last edited by

        Use the User manager of the web configurator and add them to the admins group:

        0_1543410735857_84ea5220-d124-4399-bc84-fc05e95a0a42-grafik.png

        1 Reply Last reply Reply Quote 0
        • adamwA
          adamw
          last edited by

          They are already members of admins group and I can see it in /etc/group

          But how do I elevate privileges in shell:

          su -
          Sorry: su
          
          sudo su -
          sudo: Command not found.
          

          ?

          1 Reply Last reply Reply Quote 0
          • V
            viragomann
            last edited by

            So also assign the the appropriate privileges to them:
            0_1543412553752_01853904-8ed4-4364-857e-bc54e65b8b58-grafik.png

            sudo is not delivered with pfSense. You may install the subo package if you need it.

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

              Use the sudo package. Do not manually modify accounts in the shell. pfSense isn't engineered to allow what you are attempting to stay long-term.

              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
              • T
                tim.mcmanus
                last edited by

                See this recent thread for additional detail.

                https://forum.netgate.com/topic/137939/bypass-su-sorry-on-pfsense

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