<?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: How do properly allow all sudo commands on macos? in Endpoint Privilege Manager (EPM) Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/how-do-properly-allow-all-sudo-commands-on-macos/m-p/1329673#M1926</link>
    <description>&lt;P&gt;Hi @Cody Stevens​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Make sure you selected in the definition type "Sudo Command" (and not Executable).&lt;/P&gt;&lt;P&gt;In general, setting wildcard * should do the work but gave in mind, that it's not very secured.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Field_Content_versions_oct20__068Vy00000rTszQIAS.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/93881iB9350105688C9945/image-size/large?v=v2&amp;amp;px=999" role="button" title="Field_Content_versions_oct20__068Vy00000rTszQIAS.png" alt="Field_Content_versions_oct20__068Vy00000rTszQIAS.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Arik.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 05 Oct 2025 12:11:27 GMT</pubDate>
    <dc:creator>CyberArkAlumni</dc:creator>
    <dc:date>2025-10-05T12:11:27Z</dc:date>
    <item>
      <title>How do properly allow all sudo commands on macos?</title>
      <link>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/how-do-properly-allow-all-sudo-commands-on-macos/m-p/1329671#M1924</link>
      <description>&lt;P&gt;Im trying to simply allow all sudo commands on MacOS. I followed the document located here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;https://community.cyberark.com/s/article/macOS-EPM-Create-Sudo-Elevate-All-Commands-Policy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ive even tried adding /usr/bin/* or /usr/bin/sudo but same results. I get the justification prompt in terminal and I enter that but still says that the execution was blocked because the user doesnt have admin rights. Any ideas how to allow Sudo commands?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Oct 2025 18:57:37 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/how-do-properly-allow-all-sudo-commands-on-macos/m-p/1329671#M1924</guid>
      <dc:creator>Cody</dc:creator>
      <dc:date>2025-10-03T18:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: How do properly allow all sudo commands on macos?</title>
      <link>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/how-do-properly-allow-all-sudo-commands-on-macos/m-p/1329672#M1925</link>
      <description>&lt;P&gt;Hey @Cody Stevens​&amp;nbsp;&lt;/P&gt;&lt;P&gt;The article should do it. Can you try adding the policy from the event management page after executing the sudo on Mac OS. You can refer to this - https://docs.cyberark.com/epm/latest/en/content/epm/server%20user%20guide/eventsmanagement.htm#Moreeventmanagementactions&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Sat, 04 Oct 2025 03:55:09 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/how-do-properly-allow-all-sudo-commands-on-macos/m-p/1329672#M1925</guid>
      <dc:creator>V.DubbasiSudarshan726642</dc:creator>
      <dc:date>2025-10-04T03:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do properly allow all sudo commands on macos?</title>
      <link>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/how-do-properly-allow-all-sudo-commands-on-macos/m-p/1329673#M1926</link>
      <description>&lt;P&gt;Hi @Cody Stevens​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Make sure you selected in the definition type "Sudo Command" (and not Executable).&lt;/P&gt;&lt;P&gt;In general, setting wildcard * should do the work but gave in mind, that it's not very secured.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Field_Content_versions_oct20__068Vy00000rTszQIAS.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/93881iB9350105688C9945/image-size/large?v=v2&amp;amp;px=999" role="button" title="Field_Content_versions_oct20__068Vy00000rTszQIAS.png" alt="Field_Content_versions_oct20__068Vy00000rTszQIAS.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Arik.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 05 Oct 2025 12:11:27 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/how-do-properly-allow-all-sudo-commands-on-macos/m-p/1329673#M1926</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2025-10-05T12:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: How do properly allow all sudo commands on macos?</title>
      <link>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/how-do-properly-allow-all-sudo-commands-on-macos/m-p/1329674#M1927</link>
      <description>&lt;P&gt;Thanks Arik. I have it already setup like this though. I even have a couple extra definitions setup. Here's what I have setup (this is for full admin). I know it's not fully secure but I'm at this point just trying to get it to work then I'll try to fine tune it. My user account is in the AD group for this policy. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Field_Content_versions_oct20__068Vy00000rYSZkIAO.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/93883i3A0E1CB3C210E7EB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Field_Content_versions_oct20__068Vy00000rYSZkIAO.png" alt="Field_Content_versions_oct20__068Vy00000rYSZkIAO.png" /&gt;&lt;/span&gt;So you can see here I have multiple ways of doing it added. But when I try to run a sudo command on the mac it does this. Keep in mind this mac is bound to AD as well. I do get the justification message so I know Cyberark is communicating.. but still doesnt allow it. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Field_Content_versions_oct20__068Vy00000rZfGLIA0.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/93889iBC82C9984566EC71/image-size/large?v=v2&amp;amp;px=999" role="button" title="Field_Content_versions_oct20__068Vy00000rZfGLIA0.png" alt="Field_Content_versions_oct20__068Vy00000rZfGLIA0.png" /&gt;&lt;/span&gt;Let me know any suggestions. This policy has been set for a few days now, so I know it's synced by now as well.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Oct 2025 14:21:31 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/how-do-properly-allow-all-sudo-commands-on-macos/m-p/1329674#M1927</guid>
      <dc:creator>Cody</dc:creator>
      <dc:date>2025-10-06T14:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: How do properly allow all sudo commands on macos?</title>
      <link>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/how-do-properly-allow-all-sudo-commands-on-macos/m-p/1329675#M1928</link>
      <description>&lt;P&gt;The thing is what shows up in Event management is the command that came after the sudo command. For example I'm running sudo dsconfigad --show so what I see in event management is in the screenshot below. But I want all sudo to be allowed for now. Not just certain commands. Im not sure why doing sudo command matches wildcard * wont accomplish this. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Field_Content_versions_oct20__068Vy00000rZWmZIAW.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/93887i63D8FC5F0353772B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Field_Content_versions_oct20__068Vy00000rZWmZIAW.png" alt="Field_Content_versions_oct20__068Vy00000rZWmZIAW.png" /&gt;&lt;/span&gt;Also. I went in and added this to the policy just as a test. Did the same command: sudo dsconfigad --show and it's still giving the error that I dont have admin rights. I did it 5 mins ago, not sure how long it takes to sync, but I went and hit request settings but still no go. &lt;/P&gt;</description>
      <pubDate>Mon, 06 Oct 2025 14:30:20 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/how-do-properly-allow-all-sudo-commands-on-macos/m-p/1329675#M1928</guid>
      <dc:creator>Cody</dc:creator>
      <dc:date>2025-10-06T14:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do properly allow all sudo commands on macos?</title>
      <link>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/how-do-properly-allow-all-sudo-commands-on-macos/m-p/1329676#M1929</link>
      <description>&lt;P&gt;Hi @Cody Stevens​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The definition seems OK.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the testing purpose I would first remove all the targets (users and groups) from the policy so it will be targeted only to a specific computer and for all users.&lt;/P&gt;&lt;P&gt;If it still doesn't work please open a support case.&lt;/P&gt;&lt;P&gt;If it does work, it means something with the targeting is not set right...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Keep us posted,&lt;/P&gt;&lt;P&gt;Arik.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2025 14:36:04 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/how-do-properly-allow-all-sudo-commands-on-macos/m-p/1329676#M1929</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2025-10-08T14:36:04Z</dc:date>
    </item>
  </channel>
</rss>

