Ir al contenido

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.

A user has no role of its own — Taranac resolves effective access through its group memberships: an admin group grants full access and any MFA-required group makes MFA mandatory.
TermWhat it means
UserAn individual account. Has a username (unique among local users, case-insensitivelyAdmin and admin collide), an email, optional name/phone, and — for local users — a password.
GroupA 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.
MembershipThe 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 sourcelocal (managed here) or ldap (synced from a directory, read-only here).
Enable modePer-user / per-group control over the TACACS+ enable (privilege-escalation) password.
Validity periodOptional 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.

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).

Users list in the Taranac admin UI The Users list — group badges, status, source and validity at a glance.

Click New and fill in the form:

FieldNotes
UsernameRequired, immutable after creation. Max 150 characters. Unique among local users, case-insensitively — creating Admin when admin already exists is rejected.
EmailRequired. Not unique — several accounts may share an address. Used for the welcome email and password links.
First / last name, phoneOptional.
PasswordPre-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.
LanguageUI language for this user (default en).
ActiveOn by default.
Must change passwordOn by default — forces a change at first login.
Enable passwordTACACS+ privilege escalation; see Enable password.
Account validityOptional start/end window; see Validity periods.
GroupsAdd 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.

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.

Open Infrastructure → Groups. Columns show name, source, the Admin and MFA flags, and the member count (click it to preview members).

Groups list in the Taranac admin UI The Groups list — admin and MFA flags are the levers that matter.

When you create or edit a group you set:

FieldEffect
NameRequired, unique. Disabled for directory groups.
DescriptionFree text. Disabled for directory groups.
RBAC modelThe permission set granted to every member for the admin UI / API. Blank = no permissions. See Roles & permissions.
Admin groupWhen on, members bypass all RBAC checks and get full system access.
Require MFAWhen on, every member must complete MFA at login, overriding their personal and the system-default MFA setting. See Multi-factor (MFA).
Enable passwordGroup-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.

A user’s effective UI/API permissions are resolved through their groups:

User → Groups → Group.rbac_model → permissions

If 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.

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 default

Each enable_mode can be:

ModeBehaviour
inheritFall through to the next level in the chain (the default).
login_passwordReuse the user’s login password for enable.
customUse a distinct, encrypted enable password set on this object.
denyAlways 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.

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.

  • 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.
You need…Use
An account managed entirely in Taranac (service accounts, lab, no directory)Local user
Centrally-managed staff identities, single source of truthDirectory (LDAP/AD) users + LDAP sync
To grant admin-UI permissionsAssign an RBAC model to a group, or the admin flag for full access
To grant device (AAA) accessPut the user/group in a matching AAA policy rule’s WHO
Privilege escalation on switches/routersSet enable mode on the user, group, or TACACS+ profile
Time-boxed accessValidity period on the local user
Mandatory MFA for a teamRequire MFA on the group
FieldMeaning
usernameLogin name; immutable; unique among local users (case-insensitive on lower(username)). The stored value keeps its original casing for display.
emailNotification/recovery address; not unique.
is_active / is_lockedActive flag and lockout state; locking always blocks login.
must_change_passwordForces a password change at next login.
auth_sourcelocal or ldap.
enable_mode / enable_passwordTACACS+ enable behaviour (inherit / login_password / custom / deny).
valid_from / valid_untilOptional account validity window (local only).
has_nt_passwordWhether an NT hash exists for RADIUS MS-CHAP (local only).
FieldMeaning
nameUnique group name.
sourcelocal or ldap.
is_adminsMembers bypass all RBAC checks (full access).
mfa_requiredAll members must complete MFA at login.
rbac_modelPermission set granted to members for the UI/API.
enable_mode / enable_passwordGroup-level TACACS+ enable policy for inheriting members.