Ad Widget

Collapse

system.run still forbidden after allowing through AllowKey=system.run[*]

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Anon1255915
    Junior Member
    • Jul 2024
    • 4

    #1

    system.run still forbidden after allowing through AllowKey=system.run[*]

    Hello,

    I am trying to implement an item using the system.run key.
    I added AllowKey=system.run[*] to a hosts agent configuration file, but the agent reports:
    Click image for larger version

Name:	image.png
Views:	123
Size:	129.0 KB
ID:	487137
    But I cannot find what other rules above forbid the client from using system.run?
    All the configurations above AllowKey dont seem like they have anything to do with it?
    My agent configuration file is attached.

    Please let me know if you need any more information
    Thanks in advance for any help!
  • Answer selected by Anon1255915 at 09-07-2024, 15:05.
    Anon1255915
    Junior Member
    • Jul 2024
    • 4

    Nvm, figured it out. Someone snuck in a plugin.d conf file that contains DenyKey=system.run[*]. Dont know why the error says "above" when these conf.files are loaded at the very bottom of the original conf file, far under my AllowKey, but it works now so idc.
    Sorry for the trouble/clutter.

    Comment

    • Anon1255915
      Junior Member
      • Jul 2024
      • 4

      #2
      Nvm, figured it out. Someone snuck in a plugin.d conf file that contains DenyKey=system.run[*]. Dont know why the error says "above" when these conf.files are loaded at the very bottom of the original conf file, far under my AllowKey, but it works now so idc.
      Sorry for the trouble/clutter.

      Comment

      Working...