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

    Is a readonly login for status board type display possiblle?

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 2 Posters 182 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.
    • M
      MakOwner
      last edited by

      I'd like to be able to display the various pfsense dashboard widgets from an account that doesn't require frequent re-authentication.
      Is it possible to set up an account with a 0 value timeout that is essentially a read-only account?

      I have poked about in the local users interface but I don't see any blatantly obvious way to set up a read only user or group.

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

        You can create a user with the permission 'deny config write' and it would not be able to make any changes.

        I haven't tried to ever create a user that doesn't get logged out. I can imagine that being an issue.

        You might want to consider exporting data to a logging/monitoring system and displaying it there instead. There are numerous examples of doing that with Prometheus for example.

        Steve

        M 1 Reply Last reply Reply Quote 0
        • M
          MakOwner @stephenw10
          last edited by

          @stephenw10
          I'm sure someone spent a fair amount of time on the dashboard and widgets.
          Seems a shame to re-invent the wheel.

          How do you configure "deny config write" ?
          I don't see that in the GUI.

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

            It's a privilege you can assign to a user or group:
            https://docs.netgate.com/pfsense/en/latest/usermanager/privileges.html

            Screenshot from 2024-03-07 15-18-07.png

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