<?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 Problem with shell command authorization in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/problem-with-shell-command-authorization/m-p/142944#M436051</link>
    <description>&lt;P&gt;I ran into this issue with both ACS 3.1 and ACS 3.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A shell command authorization set is created under the shared profile components with the following settings:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unmatched Commands: deny&lt;/P&gt;&lt;P&gt;Permit Unmatched Args: UNCHECKED&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The command allowed is "show", with Arg "permit ver", "permit interface", and "permit run"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This authorization set is then applied to the group, under the option "Assign a Shell Command Authorization set for any network device."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enable option for that group is set to "Max Privilege for any AAA Client, level 15"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This configuration is then tested against two IOS switches, with the aaa commands as follow:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aaa new-model&lt;/P&gt;&lt;P&gt;aaa authentication login default group tacacs+ local&lt;/P&gt;&lt;P&gt;aaa authentication enable default group tacacs+ enable&lt;/P&gt;&lt;P&gt;aaa authorization exec default group tacacs+ local&lt;/P&gt;&lt;P&gt;aaa authorization commands 15 default group tacacs+ local&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem I am having is that when an user that falls under this group logs in, he/she can issue commands such as show ver, show run, and show int just like I would expect it to. Any command that doesn't start with a show.... is denied. However, other show commands that are not listed in the Args will work, while some won't. For example, "show arp" and "show vlan" worked, while "show accounting" and "show buffer" didn't. What am I missing?&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
    <pubDate>Sun, 10 Mar 2019 14:26:32 GMT</pubDate>
    <dc:creator>dtangent</dc:creator>
    <dc:date>2019-03-10T14:26:32Z</dc:date>
    <item>
      <title>Problem with shell command authorization</title>
      <link>https://community.cisco.com/t5/network-access-control/problem-with-shell-command-authorization/m-p/142944#M436051</link>
      <description>&lt;P&gt;I ran into this issue with both ACS 3.1 and ACS 3.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A shell command authorization set is created under the shared profile components with the following settings:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unmatched Commands: deny&lt;/P&gt;&lt;P&gt;Permit Unmatched Args: UNCHECKED&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The command allowed is "show", with Arg "permit ver", "permit interface", and "permit run"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This authorization set is then applied to the group, under the option "Assign a Shell Command Authorization set for any network device."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enable option for that group is set to "Max Privilege for any AAA Client, level 15"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This configuration is then tested against two IOS switches, with the aaa commands as follow:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aaa new-model&lt;/P&gt;&lt;P&gt;aaa authentication login default group tacacs+ local&lt;/P&gt;&lt;P&gt;aaa authentication enable default group tacacs+ enable&lt;/P&gt;&lt;P&gt;aaa authorization exec default group tacacs+ local&lt;/P&gt;&lt;P&gt;aaa authorization commands 15 default group tacacs+ local&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem I am having is that when an user that falls under this group logs in, he/she can issue commands such as show ver, show run, and show int just like I would expect it to. Any command that doesn't start with a show.... is denied. However, other show commands that are not listed in the Args will work, while some won't. For example, "show arp" and "show vlan" worked, while "show accounting" and "show buffer" didn't. What am I missing?&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2019 14:26:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/problem-with-shell-command-authorization/m-p/142944#M436051</guid>
      <dc:creator>dtangent</dc:creator>
      <dc:date>2019-03-10T14:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with shell command authorization</title>
      <link>https://community.cisco.com/t5/network-access-control/problem-with-shell-command-authorization/m-p/142945#M436052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;commands that are working without you defining them explicitly are of lower Privilege level than 15... eg; 'show arp' is a Priv-1 command, hence it is execuatbel without command authorization as you are not doing command authorization for Priv-1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Router&amp;gt;sh priv &lt;/P&gt;&lt;P&gt;Current privilege level is 1&lt;/P&gt;&lt;P&gt;Router&amp;gt;&lt;/P&gt;&lt;P&gt;Router&amp;gt;&lt;/P&gt;&lt;P&gt;Router&amp;gt;show arp&lt;/P&gt;&lt;P&gt;Protocol  Address          Age (min)  Hardware Addr   Type   Interface&lt;/P&gt;&lt;P&gt;Internet  10.1.5.2          24   0000.abcd.abcd  ARPA   Ethernet0/0&lt;/P&gt;&lt;P&gt;Internet  10.1.5.3             -   0003.abcd.abcd  ARPA   Ethernet0/0&lt;/P&gt;&lt;P&gt;Router&amp;gt;&lt;/P&gt;&lt;P&gt;Router&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2003 05:33:50 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/problem-with-shell-command-authorization/m-p/142945#M436052</guid>
      <dc:creator>yusuff</dc:creator>
      <dc:date>2003-08-12T05:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with shell command authorization</title>
      <link>https://community.cisco.com/t5/network-access-control/problem-with-shell-command-authorization/m-p/142946#M436053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adding the aaa command, "aaa authorization commands 1 default group tacacs+ local" fixed it. Thanks for the response.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2003 15:57:26 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/problem-with-shell-command-authorization/m-p/142946#M436053</guid>
      <dc:creator>dtangent</dc:creator>
      <dc:date>2003-08-12T15:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with shell command authorization</title>
      <link>https://community.cisco.com/t5/network-access-control/problem-with-shell-command-authorization/m-p/142947#M436054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the same problem, and adding the "aaa authorization commands 1 default group tacacs+" command the results is the same: it doesn't work correctly...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have: &lt;/P&gt;&lt;P&gt;"Unmatched Cisco IOS commands"---&amp;gt; Deny&lt;/P&gt;&lt;P&gt;"Command"---&amp;gt; show&lt;/P&gt;&lt;P&gt;"Arguments"---&amp;gt; permit ip route&lt;/P&gt;&lt;P&gt;"Unlisted arguments"---&amp;gt; deny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These parameters are the same in the group and in the user setting, but I've tried several solution, with no good results...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The version of CiscoSecure is 2.4 for WinNT. &lt;/P&gt;&lt;P&gt;There is a solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2003 14:06:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/problem-with-shell-command-authorization/m-p/142947#M436054</guid>
      <dc:creator>m.penta</dc:creator>
      <dc:date>2003-09-03T14:06:59Z</dc:date>
    </item>
  </channel>
</rss>

