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

    Different service status using pfSsh.php after Upgrade to 2.8.1

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 33 Views 2 Watching
    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 Offline
      m1ch43l_n
      last edited by

      We started upgrading our pfSenses to 2.8.1 (from 2.7.2). After the upgrade we experienced a problem when using pfSsh.php by a dedicated user to check the status of a specific service.

      When I'm logged in as root and I call

      /usr/local/sbin/pfSsh.php playback svc status unbound
      

      from CLI, I get:

      Service unbound is running.
      

      When I'm logged in as user "monitoring" and I call

      /usr/local/sbin/pfSsh.php playback svc status unbound
      

      from CLI, I get:

      Service unbound is stopped.
      

      Weird behavior. In 2.7.2 that worked flawlessly. I've no clue, what's wrong...

      1 Reply Last reply Reply Quote 0
      • tinfoilmattT Offline
        tinfoilmatt
        last edited by

        Same behavior here. Presumably it's the result of some permissions hardending. A user not privileged to modify an elevated service should not be able to determine the status of said service.

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