İçeriğe Atla
Mustafa Erbay
Tutorials · 9 min read · görüntülenme Türkçe oku
100%

AAA on Network Devices with TACACS+: Command Authorization and Audit

A TACACS+ approach that reduces local admin sprawl on network devices and turns session traces into proof through roles, command authorization, and accounting.

AAA on Network Devices with TACACS+: Command Authorization and Audit — cover image

“A few local admin accounts” looks pragmatic on network devices in the short term; over time it produces three problems: no trail, no roles, no rollback. And as the team grows, “who logged into which device when?” turns into a question nobody can answer. That’s why TACACS+ isn’t simply a “login” tool — it’s an operational audit layer.

The goal: solve three things at once

What makes TACACS+ valuable in production is three uses, working together:

  1. Authentication: who logged in?
  2. Authorization: which role does this person hold and which commands can they run?
  3. Accounting: what did they do, which command did they run, how long was the session?

Minimum architecture: two TACACS+ servers + identity source + log pipeline

A practical deployment needs:

  • TACACS+ servers (HA): at least 2 nodes (separate site / zone where possible)
  • Identity source: AD/LDAP/SSO (with group mapping)
  • Role policy: group → role → permitted command set
  • Log pipeline: TACACS+ accounting logs → central log / SIEM

Two extras that pay outsized returns:

  • Break-glass: controlled emergency access
  • Config backup: automatic “running-config snapshot” after every change

Role design: start with 3 roles (expand later)

The starting roles that work best in the field:

  • ReadOnly: show / diagnose (no config)
  • Operator: limited config (clearly bounded — interface up/down, BGP neighbor reset and similar)
  • Admin: full privilege (held by few people)

Management cost rises with the role count. So the first goal isn’t “perfect RBAC” but rather cutting local accounts and producing a trail.

Command authorization: prove the boundary technically

Command control delivers two crucial benefits:

  • It cuts down on accidental “dangerous” commands
  • It backs the “separation of duties” audit clause with technical proof

A practical approach:

  • High-risk commands like “config terminal / write memory / reload” stay admin-only
  • Operational intervention commands (e.g. specific resets) belong to the operator role with a tight boundary
  • Keep the readonly role at “show only”

Accounting: turn the session record into ‘incident evidence’

TACACS accounting data accelerates two things during an incident:

  • It answers “who changed what?” within minutes
  • It puts evidence — not assumptions — into the postmortem

Minimum log fields:

  • user, device, source IP
  • session start / end
  • command(s) executed
  • result (permit / deny)

Resilience: what happens when TACACS+ is down?

The “fail-open or fail-closed?” call matters here:

  • Fail-open: when TACACS is down, local fallback keeps access alive (operations survive, risk goes up)
  • Fail-closed: when TACACS is down, access is cut (security wins, but in a crisis it can be catastrophic)

A common balance in the field:

  • On critical production devices, controlled local fallback (break-glass) plus strong alarms
  • On the management network, an out-of-band channel plus a “TACACS down” runbook

Break-glass: make emergency access systematic

Break-glass is not “let’s write the password down somewhere”. A healthy model:

  • Time-bound activation (e.g. 30 min)
  • Two-person approval (at least on critical segments)
  • Mandatory session recording
  • Rehearsals (a few times per year)

Operational checklist (first 30 days)

  • Local admin account inventory completed
  • 3 roles defined (ReadOnly / Operator / Admin)
  • Command allowlist draft written
  • Accounting logs flowing into central log
  • TACACS healthcheck + alarm in place
  • Break-glass procedure and rehearsal calendar written

Conclusion

Standing up AAA on network devices with TACACS+ is more than centralizing identity: it secures operations through roles, command control, and an audit trail. The most solid approach I’ve seen in the field is to start with few roles, run accounting from day one, and tie the TACACS outage / break-glass scenario into a runbook. Set up that way, TACACS+ stops being a “security project” and becomes the secure surface where daily operations actually run.

Paylaş:

Bu yazı faydalı oldu mu?

Yükleniyor...

Bu yazı nasıldı?

ME

Mustafa Erbay

Sistem Mimarisi · Network Uzmanı · Altyapı, Güvenlik ve Yazılım

2006'dan bu yana sistem mimarisi, network, sunucu altyapıları, büyük yapıların kurulumu, yazılım ve sistem güvenliği ekseninde çalışıyorum. Bu blogda sahada karşılığı olan teknik deneyimlerimi paylaşıyorum.

Kişisel Notlar

Bu notlar sadece sizde saklanır. Tarayıcınızda yerel olarak tutulur.

Hazır 0 karakter

Comments

Server-side AI Moderation

Comments are AI-moderated server-side and stored permanently.

?
0/2000

Server-side AI moderation

✉️ Free · No spam · Unsubscribe anytime

Curated digest, hand-picked by me — not the AI

Once a week: the most important post of the week, behind-the-scenes notes, and a "what I actually used this week" section. Less noise, more signal.

  • 📌
    Best of the week Single most-worth-reading post
  • 🔧
    Toolbox notes Real tools I used this week
  • 🧠
    Behind-the-scenes Notes that don't make it to blog

We don't spam. Unsubscribe anytime. · Tracked only by Umami (self-hosted, no Google).

Your Reading Stats

0

Posts Read

0m

Reading Time

0

Day Streak

-

Favorite Category

Related Posts