Skip to content

Commit 6b86627

Browse files
committed
Merge branch '517' into ania-stage
2 parents f3be5a0 + b1ed592 commit 6b86627

2 files changed

Lines changed: 30 additions & 7 deletions

File tree

  • content/cumulus-linux-517
    • System-Configuration/Authentication-Authorization-and-Accounting
    • Whats-New

content/cumulus-linux-517/System-Configuration/Authentication-Authorization-and-Accounting/TACACS.md

Lines changed: 29 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -149,12 +149,7 @@ You can configure the following optional TACACS+ settings:
149149
{{%notice note%}}
150150
If a TACACS user exists and has already connected before you enable a separate home directory for that user, the user home directory already exists under `tacacs_template_user`. Therefore, when adding a local user, the user does not have permissions or ownership of the home directory.
151151
{{%/notice%}}
152-
<!-- - The output debugging information level through syslog(3) to use for troubleshooting. You can specify a value between 0 and 2. The default is 0. A value of 1 enables debug logging. A value of 2 increases the verbosity of some debug logs.
153152

154-
{{%notice note%}}
155-
Do not leave debugging enabled on a production switch after you complete troubleshooting.
156-
{{%/notice%}}
157-
-->
158153
{{< tabs "TabID111 ">}}
159154
{{< tab "NVUE Commands ">}}
160155

@@ -414,7 +409,7 @@ The first `adduser` command prompts for information and a password. You can skip
414409
{{< /tabs >}}
415410
416411
<!-- vale off -->
417-
## TACACS+ Per-command Authorization
412+
## Local Per-command Authorization
418413
419414
TACACS+ per-command authorization lets you configure the commands that TACACS+ users at different privilege levels can run.
420415
<!-- vale on -->
@@ -488,6 +483,34 @@ cumulus@switch:~$ sudo rm ~tacacs0/bin/*
488483
{{< /tab >}}
489484
{{< /tabs >}}
490485
486+
## Server-side Per-command Authorization
487+
488+
Whe you use server-side per-command authorization, Cumulus Linux sends every command that the TACACS+ user enters to the TACACS server for authorization before executing the command. The TACACS server is the sole authority on which commands are permitted; you don't need to configure local per-command configuration on the switch.
489+
490+
{{%notice note%}}
491+
- You can use server-side per-command authorization together with specific command authorization so that Cumulus Linux authorizes certain commands locally and forwards all other commands *only* to the TACACS server.
492+
- If the switch cannot reach any of the configured TACACS servers, the command is denied.
493+
- The switch does not execute commands without explicit server authorization.
494+
{{%/notice%}}
495+
496+
By default, server-side per-command authorization is disabled for all privilege levels.
497+
498+
To enable server-side per-command authorization for a TACACS privilege level, run the `nv set system aaa tacacs authorization <priority-id> all-commands enabled` command.
499+
500+
The following example enables server-side authorization for all commands at privilege level 15:
501+
502+
```
503+
cumulus@switch:~$ nv set system aaa tacacs authorization 15 all-commands enabled
504+
cumulus@switch:~$ nv config apply
505+
```
506+
507+
To disable server-side per-command authorization for a TACACS privilege level and revert to local command authorization only, run the `nv set system aaa tacacs authorization <priority-id> all-commands disabled` command:
508+
509+
```
510+
cumulus@switch:~$ nv set system aaa tacacs authorization 15 all-commands disabled
511+
cumulus@switch:~$ nv config apply
512+
```
513+
491514
## Remove the TACACS+ Client Packages
492515
493516
To remove all the TACACS+ client packages, use the following commands:

content/cumulus-linux-517/Whats-New/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Cumulus Linux 5.17 contains new features and improvements, and provides bug fixe
1414

1515
### New Features and Enhancements
1616

17+
- {{<link url="TACACS/#server-side-per-command-authorization" text="TACACS+ Server-side Per-command Authorization">}}
1718
- Headroom Size based on the average packet size
1819
- Dynamic ECN (Beta)
1920
- Instant Retransmission System (Beta)
@@ -31,7 +32,6 @@ Cumulus Linux 5.17 contains new features and improvements, and provides bug fixe
3132
- BER monitoring | GSHUT and port down due to error disabled
3233
- Security - Support "sudo" validation when TACACS server is connected to the default VRF
3334
- Telemetry - amBER Link Down Information (gNMI & OTEL)
34-
- Support For TACACS Per Command Authorization on TACACS Server Instead of Locally
3535
- Integrate logs in tc_log to the syslog​, and update log level
3636
- NV config verify (User can verify a config before apply
3737
- High frequency telemetry - Nsight Integration - Phase 2 (Binary format)

0 commit comments

Comments
 (0)