Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.11.1 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

Disable Deployment Feature in Web Administrative Console?

Is there a way to disable the deployment feature?  We would just like to use OCS Inventory for inventorying systems and feel it could cause a potential security risk.  Also, is anyone using two factor, ip restricting,  or any other methods like that for authentication to the web console?  Thanks! This Software is great!
in Administrative console by (570 points)

1 Answer

0 votes
FIgured this out if anyone wants to disable the "Deployment" feature of OCS Inventory NG:

disable it by renaming/removing the function file:
      -  mv /usr/share/ocsinventory-reports/ocsreports/require/function_telediff.php  /usr/share/ocsinventory-reports/ocsreports/require/function_telediff.php.bak

remove "Deployment" from web interface top menu:
         -  make a backup first with this command cp /usr/share/ocsinventory-reports/ocsreports/config/main_menu.xml  /usr/share/ocsinventory-reports/ocsreports/config/main_menu.bak
         -  now edit the main_menu.xml file to remove the menu item for Deploy

remove "Configuration" from Computer page menu:
           - make a backup first with this command cp /usr/share/ocsinventory-reports/ocsreports/config/computer/menu.xml  /usr/share/ocsinventory-reports/ocsreports/config/computer/menu.bak
           - now edit the menu.xml file to remove the menu item for config.
by (570 points)
Powered by Question2Answer