Skip to content

tac_plus‐ng: Tags

Marc Huber edited this page Oct 6, 2025 · 3 revisions

Tags are recognized for both hosts and users. You can may use tags in scripts, and comparing host and user tags is straightforward:

device demohost { tag = a,d,f }
user demouser { tag = a,b,c member = readonly }

ruleset {
  rule { script { if (device.tag == user.tag) { if (group == readonly) profile = readonly permit } } }
}

Dynamic hosts, dynamic users and their associated tags can be set via a suitable MAVIS backend, so this comes quite close to database support, especially as profile definitions in user context are now supported.

Clone this wiki locally