cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
781
Views
10
Helpful
3
Replies

AAA authentication and Authorization

salemmahara
Level 3
Level 3

Hello eveyone

Here is a simple configuration of TACACS+ . Authentication is ok, enable password is checked, but after entering to Privilege mode (Router#) there is a problem with authorization. logged in user can perform allllll commands :) :

 

aaa new-model

aaa authentication login TEST group tacacs+

aaa authorization enable default group tacacs+

aaa authorization exec TEST group tacacs+

aaa authorization network TEST group tacacs+

 

line vty 0 4

login authentication TEST

authorization exec TEST

 

I tried to deny all commands on TACACS+ server but ...

May I have your ideas please?

2 Accepted Solutions

Accepted Solutions

Francesco Molino
VIP Alumni
VIP Alumni

Hi

 

You're missing some aaa statements to ask the device to check all commands typed in by a user against tacacs:

 

aaa authorization config-commands

aaa authorization commands 1 TEST group default local if-authenticated

aaa authorization commands 0 TEST group default local if-authenticated

aaa authorization commands 15 TEST group default local if-authenticated

!

line vty 0 15

 authorization commands 1 TEST

 authorization commands 0 TEST

 authorization commands 15 TEST

 

Here a complete doc: https://communities.cisco.com/servlet/JiveServlet/downloadBody/68194-102-1-125121/How-To_TACACS_for_IOS.pdf


Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question

View solution in original post

Hi Ferancesco

Thanks for replying.

aaa authorization config-commands was forgotten

View solution in original post

3 Replies 3

Francesco Molino
VIP Alumni
VIP Alumni

Hi

 

You're missing some aaa statements to ask the device to check all commands typed in by a user against tacacs:

 

aaa authorization config-commands

aaa authorization commands 1 TEST group default local if-authenticated

aaa authorization commands 0 TEST group default local if-authenticated

aaa authorization commands 15 TEST group default local if-authenticated

!

line vty 0 15

 authorization commands 1 TEST

 authorization commands 0 TEST

 authorization commands 15 TEST

 

Here a complete doc: https://communities.cisco.com/servlet/JiveServlet/downloadBody/68194-102-1-125121/How-To_TACACS_for_IOS.pdf


Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question

Hi Ferancesco

Thanks for replying.

aaa authorization config-commands was forgotten

You're welcome

Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question