jathanism / do_auth

A post-authorization script for tac_plus to allow greater flexibility in TACACS+ authentication and authorization controls.
tacacs.org
GNU General Public License v3.0
25 stars 9 forks source link

Deny commands in cisco (config) mode #8

Open Alexandru1982 opened 8 years ago

Alexandru1982 commented 8 years ago

Hi, Is it possible to deny commands after entering conf mode on cisco? Does do_auth.ini allow this? So far i can use "command_deny" only for "conf term" and not for commands available in config mode.

Ex : How do i deny, let's say, #conf t, #(config) interface.* ?

jathanism commented 6 years ago

Hey, there and sorry about the ridiculously long reply. If this is even still relevant to you:

Do you want to actually disallow entering config mode? If so you could use a lower privilege level like 1.

See: https://www.cisco.com/c/en/us/support/docs/security-vpn/remote-authentication-dial-user-service-radius/13860-PRIV.html