<?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: Commands Access Control Not Working on PSMP Connections in PAM Self-Hosted Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/commands-access-control-not-working-on-psmp-connections/m-p/1400638#M79230</link>
    <description>&lt;P&gt;Yeah, it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Sat, 26 Feb 2022 00:33:25 GMT</pubDate>
    <dc:creator>gnoguez</dc:creator>
    <dc:date>2022-02-26T00:33:25Z</dc:date>
    <item>
      <title>Commands Access Control Not Working on PSMP Connections</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/commands-access-control-not-working-on-psmp-connections/m-p/1400634#M79226</link>
      <description>&lt;P&gt;Hi everyone, I'm having the following issue. I've enabled the Commands Access Control on both connection components (PSM-SSH and PSMP-SSH). When I connect to a target using the PSM-SSH connection component on the PVWA the commands access control works perfect. However when I connect using the PSMP-SSH (using Putty from my machine) the commands are not being blocked. Has anyone encounter this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've checked and followed the instructions on how to set up this feature, but for some reason it's not working on PSMP-SSH. Any advice?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2021 17:57:47 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/commands-access-control-not-working-on-psmp-connections/m-p/1400634#M79226</guid>
      <dc:creator>Xavier_Orozco</dc:creator>
      <dc:date>2021-01-26T17:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Commands Access Control Not Working on PSMP Connections</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/commands-access-control-not-working-on-psmp-connections/m-p/1400635#M79227</link>
      <description>&lt;P&gt;Double check your configuration:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Navigate to &lt;B&gt;Options &lt;/B&gt;&amp;gt; &lt;B&gt;Connection Components&lt;/B&gt;, and expand &lt;B&gt;PSMP-SSH&lt;/B&gt;&lt;/LI&gt;&lt;LI&gt;Expand &lt;B&gt;Target Settings&lt;/B&gt;, and right-click &lt;B&gt;Supported Capabilities&lt;/B&gt;.&lt;/LI&gt;&lt;LI&gt;From the menu, select &lt;B&gt;Add Capability&lt;/B&gt;. The Properties area of the new capability appears.&lt;/LI&gt;&lt;LI&gt;In the Id value field, specify &lt;B&gt;CommandsAccessControl&lt;/B&gt;.&lt;/LI&gt;&lt;LI&gt;Click OK to save the new configuration.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 04:43:41 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/commands-access-control-not-working-on-psmp-connections/m-p/1400635#M79227</guid>
      <dc:creator>H.Sidabutar948071</dc:creator>
      <dc:date>2021-01-27T04:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Commands Access Control Not Working on PSMP Connections</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/commands-access-control-not-working-on-psmp-connections/m-p/1400636#M79228</link>
      <description>&lt;P&gt;Hello @Xavier Orozco De La Huerta​&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;could you solve it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im getting the same behaviour but the Capability is already enabled on the PSMP-SSH component.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Fri, 25 Feb 2022 20:02:57 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/commands-access-control-not-working-on-psmp-connections/m-p/1400636#M79228</guid>
      <dc:creator>gnoguez</dc:creator>
      <dc:date>2022-02-25T20:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: Commands Access Control Not Working on PSMP Connections</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/commands-access-control-not-working-on-psmp-connections/m-p/1400637#M79229</link>
      <description>&lt;P&gt;Hi gnoguez, I ended up opening a support case. It seems the regex expression needs to be exactly as specified in the docs. This is the response from the case I opened.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Hello Xavier,  Can you provide a screenshot of the ACL rule, for the previous test running "passwd root" with PSM-SSH and PSMP-SSH.  I believe I found the issue. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my lab I was able to reproduce this with ACL set up as a "black list" Allow All: .* DENY id .*  &lt;/P&gt;&lt;P&gt;PSMP-SSH &lt;/P&gt;&lt;P&gt;id - succeeds &lt;/P&gt;&lt;P&gt;id user - succeeds &lt;/P&gt;&lt;P&gt;id&amp;lt;space&amp;gt; - succeeds  &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PSM-SSH &lt;/P&gt;&lt;P&gt;id -Succeeds &lt;/P&gt;&lt;P&gt;id user - Fails: "you are not authorized."  &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It appears that the regex for "id .*" as a Deny Rule, doesn't follow the same as an Allow Rule. If I set the Deny Rule up as per the documentation example: (.*/)?id.* This is successfully able to DENY on both PSMP-SSH and PSM-SSH.  &lt;A alt="https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/PASIMP/Configuring-SSH-Commands-Access-Control-in-PSMP.htm?Highlight=CommandsAccessControl#considerations" href="https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/PASIMP/Configuring-SSH-Commands-Access-Control-in-PSMP.htm?Highlight=CommandsAccessControl#considerations" target="_blank"&gt;https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/PASIMP/Configuring-SSH-Commands-Access-Control-in-PSMP.htm?Highlight=CommandsAccessControl#considerations&lt;/A&gt; "Apply a black-list of SSH Commands"  I believe you will need to change your DENY rules to use the syntax as documented. (.*/)?passwd.*  Please let me know your results, Regards, Aaron"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It worked for me. Hope it helps you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Feb 2022 23:29:08 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/commands-access-control-not-working-on-psmp-connections/m-p/1400637#M79229</guid>
      <dc:creator>Xavier_Orozco</dc:creator>
      <dc:date>2022-02-25T23:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: Commands Access Control Not Working on PSMP Connections</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/commands-access-control-not-working-on-psmp-connections/m-p/1400638#M79230</link>
      <description>&lt;P&gt;Yeah, it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Sat, 26 Feb 2022 00:33:25 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/commands-access-control-not-working-on-psmp-connections/m-p/1400638#M79230</guid>
      <dc:creator>gnoguez</dc:creator>
      <dc:date>2022-02-26T00:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: Commands Access Control Not Working on PSMP Connections</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/commands-access-control-not-working-on-psmp-connections/m-p/1400639#M79231</link>
      <description>&lt;P&gt;Glad I could help! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Feb 2022 00:54:27 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/commands-access-control-not-working-on-psmp-connections/m-p/1400639#M79231</guid>
      <dc:creator>Xavier_Orozco</dc:creator>
      <dc:date>2022-02-26T00:54:27Z</dc:date>
    </item>
  </channel>
</rss>

