10-05-2021 10:49 PM - edited 10-05-2021 11:10 PM
Hello,
Maybe a silly question but I think it's not possible but it would be nice if we could deny users with RO access to IOS devices to read the tacacs config section, correct? In particular the tacacs-server key. I'm not sure how ISE would process a command request for "show run" when we also define "DENY_ALWAYS tacacs-server" or even "DENY_ALWAYS *tacacs-server"? I take it that the "show run" output will still contian the tacacs-server section, right? Despide that "DENY_ALWAYS tacacs-server" was specified, too. Such that we could achieve something like "show run | exclude tacacs-server"?
Thanks and regards,
Holger
Solved! Go to Solution.
10-06-2021 02:58 AM - edited 10-06-2021 03:40 AM
AFAIK you cannot configure TACACS+ to not display certain sections of the running-configuration. You've given me an idea though, perhaps you could create an alias for "show run | exclude tacacs-server" and permit the user to run the alias command and deny "show run"? I've not tried it myself though.
I believe the "tacacs-server" command is depreciated in newer versions and you have to use the syntax "tacacs server <name>". If you were running the new syntax (which you aren't) and used "tacacs server XXXX" which has multiple lines of configuration, that would not work as "exclude" only excludes the line with "tacacs" and not the rest of the configuration.
10-06-2021 02:58 AM - edited 10-06-2021 03:40 AM
AFAIK you cannot configure TACACS+ to not display certain sections of the running-configuration. You've given me an idea though, perhaps you could create an alias for "show run | exclude tacacs-server" and permit the user to run the alias command and deny "show run"? I've not tried it myself though.
I believe the "tacacs-server" command is depreciated in newer versions and you have to use the syntax "tacacs server <name>". If you were running the new syntax (which you aren't) and used "tacacs server XXXX" which has multiple lines of configuration, that would not work as "exclude" only excludes the line with "tacacs" and not the rest of the configuration.
10-06-2021 04:44 AM
10-06-2021 04:56 AM
@holger2meyer if it's preventing seeing the Type 7 keys in the configuration, how about using Type 6 which is encrypted. I think it's supported for radius and tacacs.
10-06-2021 05:08 AM
10-06-2021 05:23 AM
Ok I understand. According to the second link provided above, BGP MD5 authentication passwords will not be converted to Type 6, but recommends to use BGP TCP Authentication Option. Or just try the alias workaround for TACACS.
HTH
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide