On 1/30/09, <b class="gmail_sendername">Alexander Czutka</b> <<a href="mailto:aczutka@brocade.com">aczutka@brocade.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br> <br> Iīm trying to setup an authorization for a user.<br> <br> The user should be allowed to do a:<br> <br> - Show ip<br> - show ip route<br> <br> But he shouldnīt execute the commands, which starts with:<br> <br>
- Show ip ospf<br> - Show ip pim<br> <br> I tried this, but it didnīt work:<br> <br> cmd = show {<br> permit ip<br> deny ip ospf<br> }<br> <br> root@ubuntu-fdry:/# tac_plus -C /etc/tac_plus.conf<br>
Error: expecting '}' but found 'ospf' on line 40<br> root@ubuntu-fdry:/#<br> <br> Is this possible ?</blockquote><div><br>Try putting quotes around the tokens:<br><br>cmd = show {<br> permit ip<br>
deny "ip ospf" <br>
}<br><br> </div>Nathan<br></div><br>