<?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: Shell command authorization in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/shell-command-authorization/m-p/454408#M428295</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your very helpful respeonse.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Nov 2005 11:41:18 GMT</pubDate>
    <dc:creator>stretchlad</dc:creator>
    <dc:date>2005-11-02T11:41:18Z</dc:date>
    <item>
      <title>Shell command authorization</title>
      <link>https://community.cisco.com/t5/network-access-control/shell-command-authorization/m-p/454406#M428292</link>
      <description>&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having a problem with Shell Command Authorization.  I have a user setup who I only want to be able to display the config, this is for automated config archival on an hourly basis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have configuered the device with the following aaa commands:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aaa new-model&lt;/P&gt;&lt;P&gt;aaa group server tacacs+ ACS&lt;/P&gt;&lt;P&gt;aaa authentication login default group ACS&lt;/P&gt;&lt;P&gt;aaa authentication login NOAUTH none&lt;/P&gt;&lt;P&gt;aaa authorization config-commands&lt;/P&gt;&lt;P&gt;aaa authorization exec default group tacacs+ group ACS&lt;/P&gt;&lt;P&gt;aaa authorization exec NOAUTH none&lt;/P&gt;&lt;P&gt;aaa authorization commands 15 default group ACS&lt;/P&gt;&lt;P&gt;aaa authorization commands 15 NOAUTH none&lt;/P&gt;&lt;P&gt;aaa accounting commands 15 default start-stop group ACS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The static account I have configured logs in ok and can show config etc.  Access to conf t is disabled which is good but for some reason he can do any show command instead of just show run which is all I have allowed in the Shell command authorization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unmatched commands is set to deny and permit unmatched arguements is unchecked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ACS is 3.3(2) and the switch I am testing is running  12.1(9)EA1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2019 21:21:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/shell-command-authorization/m-p/454406#M428292</guid>
      <dc:creator>stretchlad</dc:creator>
      <dc:date>2019-03-10T21:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Shell command authorization</title>
      <link>https://community.cisco.com/t5/network-access-control/shell-command-authorization/m-p/454407#M428293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Most "show" command are level 1 commands.  You can verify this by logging in as a normal user, issue a "sho priv" to ensure you're at level 1, and then type "sho ip route", "sho ver", etc, you'll see that all of them work fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your AAA commands only tell the switch to authorize level 15 commands, so when you do a "sho ver" or the like this command will not be sent off to the ACS server for authorization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you add the following:&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;aaa authorization commands 1 default group ACS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then that shoud fix it, but be careful because it's easy to lock yourself out of being able to get into enable mode (add "enable" into your command set too).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should also have noticed that all those "show" commands weren't being accounted either, because you have also only enabled accounting for level 15 commands.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2005 05:10:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/shell-command-authorization/m-p/454407#M428293</guid>
      <dc:creator>gfullage</dc:creator>
      <dc:date>2005-10-27T05:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Shell command authorization</title>
      <link>https://community.cisco.com/t5/network-access-control/shell-command-authorization/m-p/454408#M428295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your very helpful respeonse.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2005 11:41:18 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/shell-command-authorization/m-p/454408#M428295</guid>
      <dc:creator>stretchlad</dc:creator>
      <dc:date>2005-11-02T11:41:18Z</dc:date>
    </item>
  </channel>
</rss>

