Users & groups
Users and groups are the identity layer of Taranac. A user is an account; a group bundles users together and carries the policy-relevant attributes. Together they answer the WHO dimension of every AAA decision: when a TACACS+ or RADIUS request arrives, Taranac matches the authenticated identity (and the groups it belongs to) against your AAA policy rules. The same accounts and groups also govern who can sign in to the Taranac admin UI, and what they are allowed to do there.
Identities come from one of two sources. Local users live entirely in Taranac and are managed on these pages. Directory users (auth_source = ldap) are mirrored in from a directory — Active Directory, OpenLDAP, FreeIPA or another LDAP server — by the sync engine; they appear in the same lists but are largely read-only here. This page covers local accounts and group membership; for directory-sourced identities see LDAP directories.
- Network Admins RBAC
- NOC RBAC MFA
- Auditors admin group
Key concepts
Section titled “Key concepts”| Term | What it means |
|---|---|
| User | An individual account. Has a username (unique among local users, case-insensitively — Admin and admin collide), an email, optional name/phone, and — for local users — a password. |
| Group | A named collection of users. Carries the attributes that actually drive access: an RBAC model, an admin flag, an MFA requirement, and a TACACS+ enable policy. |
| Membership | The many-to-many link between users and groups. A user can be in any number of groups; a group can hold any number of users. |
| Auth source | local (managed here) or ldap (synced from a directory, read-only here). |
| Enable mode | Per-user / per-group control over the TACACS+ enable (privilege-escalation) password. |
| Validity period | Optional start/end dates that make a local account valid only within a window. |
A user has no role of its own. Permissions, admin rights, and MFA enforcement are all derived from the groups the user belongs to. An account in no groups can still authenticate to network devices through AAA policy, but has no access to the admin UI.
Managing users
Section titled “Managing users”Open Infrastructure → Users. The list is searchable, filterable, and sortable, with columns for username, email, name, groups, status, locked state, source, validity, and last login. Filters cover status (active/inactive), locked, source (local/ldap), and validity (valid / expired / pending).
The Users list — group badges, status, source and validity at a glance.
Creating a user
Section titled “Creating a user”Click New and fill in the form:
| Field | Notes |
|---|---|
| Username | Required, immutable after creation. Max 150 characters. Unique among local users, case-insensitively — creating Admin when admin already exists is rejected. |
| Required. Not unique — several accounts may share an address. Used for the welcome email and password links. | |
| First / last name, phone | Optional. |
| Password | Pre-filled with a policy-compliant 16-character generated value, shown in plain text with Copy and Generate buttons. Copy it before saving if you intend to hand it over in person. |
| Language | UI language for this user (default en). |
| Active | On by default. |
| Must change password | On by default — forces a change at first login. |
| Enable password | TACACS+ privilege escalation; see Enable password. |
| Account validity | Optional start/end window; see Validity periods. |
| Groups | Add the user to one or more groups inline. |
Passwords are validated against the password policy (minimum 12 characters, with upper- and lower-case letters, a digit, and a special character), hashed with bcrypt, and recorded in password history. For local users Taranac also derives an NT password hash, which is what RADIUS MS-CHAP / PEAP MSCHAPv2 authentication needs — so a local user can be used for 802.1X without any extra step. Directory users never have an NT hash.
Editing, locking, deleting
Section titled “Editing, locking, deleting”In edit mode the page shows the form alongside read-only metadata, MFA status, and linked PKI certificates.
- Change password is a collapsible section — leave it empty to keep the current password.
- Lock / Unlock is independent of the active flag: a locked account fails authentication even while active. Unlocking also resets the failed-login counter. Repeated automatic failures can auto-lock an account until a timeout passes; a manual lock stays until an admin unlocks it.
- Delete is blocked for your own account and for directory users. Deleting a user automatically revokes their active PKI user certificates and detaches any device certificates that were linked to them.
Managing groups
Section titled “Managing groups”Open Infrastructure → Groups. Columns show name, source, the Admin and MFA flags, and the member count (click it to preview members).
The Groups list — admin and MFA flags are the levers that matter.
When you create or edit a group you set:
| Field | Effect |
|---|---|
| Name | Required, unique. Disabled for directory groups. |
| Description | Free text. Disabled for directory groups. |
| RBAC model | The permission set granted to every member for the admin UI / API. Blank = no permissions. See Roles & permissions. |
| Admin group | When on, members bypass all RBAC checks and get full system access. |
| Require MFA | When on, every member must complete MFA at login, overriding their personal and the system-default MFA setting. See Multi-factor (MFA). |
| Enable password | Group-level TACACS+ enable policy that members can inherit; see below. |
The Members panel lets you add and remove users (changes are saved together with the form). You can also create a brand-new user inline while building a group.
How identity feeds the rest of Taranac
Section titled “How identity feeds the rest of Taranac”Admin UI access (RBAC)
Section titled “Admin UI access (RBAC)”A user’s effective UI/API permissions are resolved through their groups:
User → Groups → Group.rbac_model → permissionsIf the user belongs to any group flagged as an admin group, they get full access and all permission checks are skipped. Otherwise their permissions are the union of every group’s RBAC model. A user with no group — or whose groups have no RBAC model and no admin flag — cannot use the admin UI. MFA enforcement follows the same logic: if any of the user’s groups requires MFA, MFA is mandatory at login.
Network access (AAA — the WHO dimension)
Section titled “Network access (AAA — the WHO dimension)”AAA policy rules match on WHO (users and/or groups), WHERE (devices/device groups), and WHEN. A rule can target specific users, one or more groups, or any identity. At request time Taranac evaluates the authenticated user together with all the groups it belongs to, so adding a user to the right group is usually all it takes to grant device access — no rule edit required. See AAA policy.
Enable password
Section titled “Enable password”For TACACS+ device administration, the enable (privilege escalation) password is resolved through an inheritance chain, with the first explicit (non-inherit) setting winning:
User → Group → TACACS+ profile → Global defaultEach enable_mode can be:
| Mode | Behaviour |
|---|---|
inherit | Fall through to the next level in the chain (the default). |
login_password | Reuse the user’s login password for enable. |
custom | Use a distinct, encrypted enable password set on this object. |
deny | Always refuse enable access. |
If a user is in several groups that each define an enable mode, the most recently updated group wins. Custom enable passwords are stored encrypted; revealing one in the UI is audit-logged.
Validity periods
Section titled “Validity periods”Local accounts can carry an optional valid-from / valid-until window. Outside the window the account is rejected at login, at token refresh, and on every API request — a soft but consistently enforced expiry. Leave a bound empty for “no restriction”. These fields apply to local users only; directory users have no validity window in Taranac.
Common scenarios
Section titled “Common scenarios”- A new network engineer. Create a local user, add them to a “Network Admins” group that has an RBAC model (or the admin flag) plus a TACACS+-friendly enable mode. They can now log in to the UI and administer devices governed by AAA rules that target that group.
- A contractor with an end date. Create a local user and set valid-until to the contract end date. Access stops automatically — no cleanup reminder needed.
- Granting AD users access without recreating them. Let LDAP sync import the AD security group, then set its RBAC model / admin flag here. AD members gain Taranac access on their next login; you never manage their passwords.
- A 802.1X service/user account. A local user automatically has the NT hash needed for MS-CHAP / PEAP, so it can be referenced by NAC and RADIUS flows with no extra configuration.
- Forcing step-up auth for sensitive staff. Turn on Require MFA on the group rather than per user — it overrides individual settings for everyone in it.
When to use what
Section titled “When to use what”| You need… | Use |
|---|---|
| An account managed entirely in Taranac (service accounts, lab, no directory) | Local user |
| Centrally-managed staff identities, single source of truth | Directory (LDAP/AD) users + LDAP sync |
| To grant admin-UI permissions | Assign an RBAC model to a group, or the admin flag for full access |
| To grant device (AAA) access | Put the user/group in a matching AAA policy rule’s WHO |
| Privilege escalation on switches/routers | Set enable mode on the user, group, or TACACS+ profile |
| Time-boxed access | Validity period on the local user |
| Mandatory MFA for a team | Require MFA on the group |
Reference — user fields
Section titled “Reference — user fields”| Field | Meaning |
|---|---|
username | Login name; immutable; unique among local users (case-insensitive on lower(username)). The stored value keeps its original casing for display. |
email | Notification/recovery address; not unique. |
is_active / is_locked | Active flag and lockout state; locking always blocks login. |
must_change_password | Forces a password change at next login. |
auth_source | local or ldap. |
enable_mode / enable_password | TACACS+ enable behaviour (inherit / login_password / custom / deny). |
valid_from / valid_until | Optional account validity window (local only). |
has_nt_password | Whether an NT hash exists for RADIUS MS-CHAP (local only). |
Reference — group fields
Section titled “Reference — group fields”| Field | Meaning |
|---|---|
name | Unique group name. |
source | local or ldap. |
is_admins | Members bypass all RBAC checks (full access). |
mfa_required | All members must complete MFA at login. |
rbac_model | Permission set granted to members for the UI/API. |
enable_mode / enable_password | Group-level TACACS+ enable policy for inheriting members. |
Related
Section titled “Related”- LDAP directories — sync directory users and groups.
- Roles & permissions — what RBAC models actually grant.
- Multi-factor (MFA) — enrollment and enforcement.
- AAA policy — how users and groups feed the WHO dimension.
- TACACS+ — enable handling and shell profiles.
- Project repository