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

    Where is sudoers?

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 3 Posters 3.9k 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.
    • B
      b0rman
      last edited by

      Hi!

      How can I edit sudoers in pfSense?

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

        The sudo package is not included in the base system. You can install the sudo package from System > Packages and then manage it in the GUI under System > Sudo.

        If you want to install it manually using pkg_add or similar then just run "visudo" to manually edit the sudoers file, which will end up under /usr/local/etc/

        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
        • B
          b0rman
          last edited by

          Thank You for Your reply!

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

            I am editing through visudo, but after reboot the changes are rolled back. How to save sudoers settings?

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

              Do not use visudo. Use the GUI, System > sudo

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