<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Cortex Xdr Cytool Linux Force Reconnect in Cortex XDR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xdr-cytool-linux-force-reconnect/m-p/454299#M1395</link>
    <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/190745"&gt;@chaim_Avisrur&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You have two option as you know. You can write your own python script or "execute_commands" script.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for both of them, You may need to import traps lib path in to environment variables. Could you try like below?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;export LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/usr/local/lib64:/usr/lib64:/opt/traps/glibc/lib/x86_64-linux-gnu/ &amp;amp;&amp;amp; /opt/traps/bin/cytool ....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Emre&lt;/P&gt;</description>
    <pubDate>Mon, 20 Dec 2021 08:24:47 GMT</pubDate>
    <dc:creator>etugriceri</dc:creator>
    <dc:date>2021-12-20T08:24:47Z</dc:date>
    <item>
      <title>Cortex Xdr Cytool Linux Force Reconnect</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xdr-cytool-linux-force-reconnect/m-p/453972#M1394</link>
      <description>&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;I'm trying to create a Python script that I can run from management&lt;BR /&gt;to change the Installation Package value,&lt;BR /&gt;something like this;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;import &lt;/SPAN&gt;os&lt;BR /&gt;&lt;BR /&gt;os.system(&lt;SPAN&gt;'/opt/traps/bin/cytool reconnect force ecXXXXXXXXXXXX5efdbe920'&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;I was already able to create one like this for my Windows machines, and there it was more complex because I had to assemble the password by 'echo' in the right position, but it works.&lt;BR /&gt;In Linux machines &lt;U&gt;it does not work&lt;/U&gt; even though I do not even have to pass a password because I am running through the system&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea is welcome, thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;LI-PRODUCT title="Cortex XDR" id="Cortex_XDR"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Dec 2021 16:26:57 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xdr-cytool-linux-force-reconnect/m-p/453972#M1394</guid>
      <dc:creator>chaim_Avisrur</dc:creator>
      <dc:date>2021-12-17T16:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: Cortex Xdr Cytool Linux Force Reconnect</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xdr-cytool-linux-force-reconnect/m-p/454299#M1395</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/190745"&gt;@chaim_Avisrur&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You have two option as you know. You can write your own python script or "execute_commands" script.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for both of them, You may need to import traps lib path in to environment variables. Could you try like below?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;export LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/usr/local/lib64:/usr/lib64:/opt/traps/glibc/lib/x86_64-linux-gnu/ &amp;amp;&amp;amp; /opt/traps/bin/cytool ....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Emre&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 08:24:47 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xdr-cytool-linux-force-reconnect/m-p/454299#M1395</guid>
      <dc:creator>etugriceri</dc:creator>
      <dc:date>2021-12-20T08:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Cortex Xdr Cytool Linux Force Reconnect</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xdr-cytool-linux-force-reconnect/m-p/454676#M1396</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/190745"&gt;@chaim_Avisrur&lt;/a&gt;&amp;nbsp;If you prefer not to change the LD_LIBRARY_PATH, you can consider changing the working directory using&amp;nbsp;&lt;BR /&gt;os.chdir('/opt/traps/bin') before executing cytool. That should pick up the libraries from the relative paths.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 12:03:11 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xdr-cytool-linux-force-reconnect/m-p/454676#M1396</guid>
      <dc:creator>bbarmanroy</dc:creator>
      <dc:date>2021-12-21T12:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: Cortex Xdr Cytool Linux Force Reconnect</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xdr-cytool-linux-force-reconnect/m-p/454681#M1397</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/192661"&gt;@bbarmanroy&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;i tried it before(it didnt work) and also did some research ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;if the change of&amp;nbsp;&lt;SPAN&gt;LD_LIBRARY_PATH if excuted within the script it is not&amp;nbsp;permanent on the machine only while the script is running.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;i did some tests and there is no change on that varible after the run.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 12:30:12 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xdr-cytool-linux-force-reconnect/m-p/454681#M1397</guid>
      <dc:creator>chaim_Avisrur</dc:creator>
      <dc:date>2021-12-21T12:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: Cortex Xdr Cytool Linux Force Reconnect</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xdr-cytool-linux-force-reconnect/m-p/454854#M1398</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/190745"&gt;@chaim_Avisrur&lt;/a&gt;&amp;nbsp;You're right. The library paths need to be set before the script is executed. If you can run a shell script from your management tool, you can set the library path in the script and execute "/opt/traps/bin/cytool reconnect force &amp;lt;password&amp;gt;". This way, your global library path won't be altered, and the script should still execute successfully within the temporary environment of the session.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 01:38:32 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xdr-cytool-linux-force-reconnect/m-p/454854#M1398</guid>
      <dc:creator>bbarmanroy</dc:creator>
      <dc:date>2021-12-22T01:38:32Z</dc:date>
    </item>
  </channel>
</rss>

