<?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: tacacs pre/post authorization in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/tacacs-pre-post-authorization/m-p/238880#M431493</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Any update on this ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 May 2004 05:29:14 GMT</pubDate>
    <dc:creator>benhur.p</dc:creator>
    <dc:date>2004-05-18T05:29:14Z</dc:date>
    <item>
      <title>tacacs pre/post authorization</title>
      <link>https://community.cisco.com/t5/network-access-control/tacacs-pre-post-authorization/m-p/238879#M431492</link>
      <description>&lt;P&gt;Hello! &lt;/P&gt;&lt;P&gt;I have a problem with the tacacs pre/post authorization methode.&lt;/P&gt;&lt;P&gt;(I have a tac_plus F4.0.4.alpha.)&lt;/P&gt;&lt;P&gt;I would like write a shell (or perl) script for the command  authorization.&lt;/P&gt;&lt;P&gt;(The autocommand works fine -- in shell script -- , but the command authorization doesn't work.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script:&lt;/P&gt;&lt;P&gt;#!/bin/sh&lt;/P&gt;&lt;P&gt;user=$1&lt;/P&gt;&lt;P&gt;nas=$2&lt;/P&gt;&lt;P&gt;if [ $user="test" ] &amp;amp;&amp;amp; [ $nas="xxx.xxx.xxx.xxx" ]&lt;/P&gt;&lt;P&gt;then&lt;/P&gt;&lt;P&gt;        echo "service=shell"&lt;/P&gt;&lt;P&gt;        echo "cmd=show"&lt;/P&gt;&lt;P&gt;        echo "cmd-arg=*"&lt;/P&gt;&lt;P&gt;#        echo "cmd-arg=permit .*"&lt;/P&gt;&lt;P&gt;#       echo autocmd="telnet xxx.xxx.xxx.xxx /stream"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        exit 2&lt;/P&gt;&lt;P&gt;fi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;user = test {&lt;/P&gt;&lt;P&gt;        default service = deny&lt;/P&gt;&lt;P&gt;        login = cleartext "test"&lt;/P&gt;&lt;P&gt;        after authorization "./authorize $user $name"&lt;/P&gt;&lt;P&gt;         service=exec {}&lt;/P&gt;&lt;P&gt;         service=shell {}&lt;/P&gt;&lt;P&gt;#        cmd = show { permit .* }&lt;/P&gt;&lt;P&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What's wrong?&lt;/P&gt;&lt;P&gt;Can You send me some examples?&lt;/P&gt;&lt;P&gt;Can You help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jani&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2019 14:47:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/tacacs-pre-post-authorization/m-p/238879#M431492</guid>
      <dc:creator>admin_2</dc:creator>
      <dc:date>2019-03-10T14:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: tacacs pre/post authorization</title>
      <link>https://community.cisco.com/t5/network-access-control/tacacs-pre-post-authorization/m-p/238880#M431493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Any update on this ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 May 2004 05:29:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/tacacs-pre-post-authorization/m-p/238880#M431493</guid>
      <dc:creator>benhur.p</dc:creator>
      <dc:date>2004-05-18T05:29:14Z</dc:date>
    </item>
  </channel>
</rss>

