fusioninventory-agent icon indicating copy to clipboard operation
fusioninventory-agent copied to clipboard

Can't modify agent.cfg on MacOs X 12.1 (Monterey)

Open karinemarquois opened this issue 3 years ago • 2 comments

I followed the procedure (before extracting the executable) by displaying the content of the resources folder, but when I want to modify the "agent.cfg" file, I get a message saying that the file is "locked" and that I can only duplicate it but not modify it (to put the GLPI server name and the appropriate tag). Usually I could at least allow the modification of the file in the settings > Security, but here it's impossible. Any idea ?

Thank you for your help :)

Français: J'ai bien suivi la procédure (avant d'extraire l'exécutable) en affichant le contenu du dossier ressources, mais au moment de modifier le fichier "agent.cfg", j'ai un message comme quoi le fichier est "verrouillé" et que je ne peux que le dupliquer mais pas le modifier (pour y mettre le nom du serveur GLPI et le tag approprié). D'habitude je pouvais au moins autorisé la modification du fichier dans les paramètres > Sécurité, mais là c'est impossible. Une idée ? Merci de votre aide !

karinemarquois avatar Jan 21 '22 16:01 karinemarquois

Hi @karinemarquois if you're using a recent agent, you can put your configuration into etc/conf.d folder. Just set your server parameter in a file their with the only constraint to be suffixed with .cfg.

g-bougard avatar Jan 21 '22 16:01 g-bougard

You can update it in /opt/fusioninventory-agent/etc/ after installation (require terminal + sudo)

ddurieux avatar Jan 21 '22 17:01 ddurieux