TACACS+ Installation and Configuration

Summary

This document provides the steps necessary to complete the download and configuration of the TACACS+ CentOS 7 VM.

The TACACS+ configuration already contains configuration for the most common use cases including AD/LDAP integration, privilege levels and per-command authorization. The configuration can be customized to meet the specific requirements of the environment.

TACACS+ OVA Download

Navigate to the URL below and initiate the download of the TACACS+ CentOS 7 OVA. Import the OVA into your existing ESXi infrastructure. The OVA was built on ESXi6.5 and VM Hardware Version 13.

https://nac-downloads.opswat.com/IE/tacacs/OPSWAT-TACACS+-VM.ova

The VM image requires 4Gig of dedicated memory with 40Gig thin provisioned storage partition and 2 vCPUs.

TACACS+ VM Configuration

The default username and password are below:

user = root

password = P@55w0rD

It is highly recommended that you change the default password. To do this type passwd and hit enter. You will be prompted to type in the new password.

Configure networking:

# vi /etc/sysconfig/network-scripts/ifcfg-ens160

Change the following fields to the desired setting for your network

Copy

# systemctl restart network.service

Configure the desired hostname for the server:

# hostnamectl set-hostname hostname.your.domain

Reboot for the hostname change to take effect.

TACACS+ Configuration - AD/LDAP

# vi /usr/local/etc/tac_plus.cfg

Bash
Copy

TACACS+ Configuration - Privilege Level Concept

Bash
Copy

TACACS+ Configuration - Per Command Authorization

Bash
Copy

TACACS+ Configuration - Validation

Once the desired changes have been made to the configuration, the tac_plus configuration will need to be verified and the service restarted in order for the changes to take effect.

Bash
Copy
Copy

Device Configuration - Cisco Example

Note – In the event the device is unable to connect to the TACACS+ server, the device will resort back to using the local access credentials after a default or specified time-out period.

Copy

End-to-End - Validation

In order to validate the result on the switch, log in as a user in one of the TACACS+ AD groups and issue the show privileges command for privilege level concept or “?” for per command authorization.

Privilege Level Concept

Per-Command Authorization

TACACS+ Logging Examples

Access log:

Accounting log:

Authentication log:

Authorization log:

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard