<?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 Changing the sudo reconcile command on Solaris in PAM Self-Hosted Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/changing-the-sudo-reconcile-command-on-solaris/m-p/1314951#M15324</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have a requirement to modify the sudo passwd reconcile command on Solaris hosts so that it uses the "-r files" argument. I modified unixprocess file with the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt; RecSudo=$sudo passwd -r files &amp;lt;username&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I attempt to reconcile after this change, it fails to find sudo. The console log shows the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;send: sending "find /bin /usr/bin /usr/local/bin -name sudo -o -name pimsu -o -name pbrun | cat\r" to { exp4 }&amp;nbsp;&lt;/P&gt;&lt;P&gt;find /bin /usr/bin /usr/local/bin -name sudo -o -name pimsu -o -name&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;pbrun | cat&lt;/P&gt;&lt;P&gt;find: stat() error /usr/local/bin:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When RecSudo is set to the default of "$sudo passwd &amp;lt;username&amp;gt; " with sudo being found and reconcile working , the console log shows this: &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;I&gt;send: sending "find /bin /usr/bin /usr/local/bin -name sudo -o -name pimsu -o -name pbrun | cat\r" to { exp4 }&amp;nbsp;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;find /bin /usr/bin /usr/local/bin -name sudo -o -name pimsu -o -name&amp;nbsp;&amp;nbsp;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;pbrun | cat&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;find: stat() error /usr/local/bin: No such file or directory&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;/usr/bin/sudo&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't understand why it is showing the same find command return different results. Is there something else that is affected and that must be taken into account when modifying recsudo in the &lt;I&gt;&amp;nbsp;&lt;/I&gt;UnixProcess file?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fred&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Nov 2020 22:16:56 GMT</pubDate>
    <dc:creator>CyberArkAlumni</dc:creator>
    <dc:date>2020-11-04T22:16:56Z</dc:date>
    <item>
      <title>Changing the sudo reconcile command on Solaris</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/changing-the-sudo-reconcile-command-on-solaris/m-p/1314951#M15324</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have a requirement to modify the sudo passwd reconcile command on Solaris hosts so that it uses the "-r files" argument. I modified unixprocess file with the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt; RecSudo=$sudo passwd -r files &amp;lt;username&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I attempt to reconcile after this change, it fails to find sudo. The console log shows the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;send: sending "find /bin /usr/bin /usr/local/bin -name sudo -o -name pimsu -o -name pbrun | cat\r" to { exp4 }&amp;nbsp;&lt;/P&gt;&lt;P&gt;find /bin /usr/bin /usr/local/bin -name sudo -o -name pimsu -o -name&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;pbrun | cat&lt;/P&gt;&lt;P&gt;find: stat() error /usr/local/bin:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When RecSudo is set to the default of "$sudo passwd &amp;lt;username&amp;gt; " with sudo being found and reconcile working , the console log shows this: &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;I&gt;send: sending "find /bin /usr/bin /usr/local/bin -name sudo -o -name pimsu -o -name pbrun | cat\r" to { exp4 }&amp;nbsp;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;find /bin /usr/bin /usr/local/bin -name sudo -o -name pimsu -o -name&amp;nbsp;&amp;nbsp;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;pbrun | cat&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;find: stat() error /usr/local/bin: No such file or directory&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;/usr/bin/sudo&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't understand why it is showing the same find command return different results. Is there something else that is affected and that must be taken into account when modifying recsudo in the &lt;I&gt;&amp;nbsp;&lt;/I&gt;UnixProcess file?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fred&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2020 22:16:56 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/changing-the-sudo-reconcile-command-on-solaris/m-p/1314951#M15324</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2020-11-04T22:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the sudo reconcile command on Solaris</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/changing-the-sudo-reconcile-command-on-solaris/m-p/1314952#M15325</link>
      <description>&lt;P&gt;I don't think the messages you posted are the root cause. They just indicate that the CPM plugin is designed to look for the sudo executable in multiple directories and doesnt find it in some of the directories. What happens in the logs *after* the errors you posted?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 10:13:02 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/changing-the-sudo-reconcile-command-on-solaris/m-p/1314952#M15325</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2020-11-05T10:13:02Z</dc:date>
    </item>
  </channel>
</rss>

