Commands that the remote inventory task runs on Linux computers. #303
Replies: 2 comments
-
Hi @alexmicontini
For linux, you check for command usage under /lib/GLPI/Agent/Task/Inventory/{Generic,Linux} folders & /lib/GLPI/Agent/Tools/{Generic,Linux,Unix,IpmiFru}.pm files. |
Beta Was this translation helpful? Give feedback.
-
Hi @g-bougard, Thank you very much for answering. I will forward your response to the security department of my company. Best regards. |
Beta Was this translation helpful? Give feedback.
-
Hello @g-bougard ,
About the remote inventory task to inventory Linux computers by SSH, either with a username and password or with a public key system, what commands does the agent that executes the remote inventory task execute to inventory and collect remote computers? The point is that we want to limit the commands that the ssh-connected user can execute to those strictly necessary for the inventory. For example the commands ls, top, dmidecode, etc..
Where in the source code can I see the commands that the remote inventory task executes?
Beta Was this translation helpful? Give feedback.
All reactions