Перейти к содержимому

Local users & groups

Users and groups are the identity layer of OkYouIn. A user is an account that signs in — to a VPN, a device, a web application, a Windows logon or the console. A group bundles users; it is what the Who condition of global and application rules matches on, and it carries the console permissions of its members.

Accounts come from two sources, shown side by side in the same lists:

  • Local accounts live entirely in OkYouIn and are managed on these pages, password included.
  • Directory accounts and groups are synchronized from Active Directory or another LDAP directory, or from Microsoft Entra ID. Their name, profile and password belong to the directory; OkYouIn adds what the directory does not know — validity, extra groups, MFA.

Open Infrastructure ▸ Identity ▸ Users. The list is searchable by username, e-mail and name, and shows each user’s groups, status, source and last login.

Click New user:

FieldNotes
UsernameRequired, cannot be changed later. Lowercase letters, digits and . _ @ -; what you type is stored in lowercase. At most 150 characters, unique across the installation.
EmailNeeded for MFA setup links, e-mail codes and notifications.
First name, Last name, Display name, PhoneOptional. The display name is shown instead of the username where set.
PasswordPre-generated — copy it before saving. It must satisfy the password policy.
Must change password at next loginForces a change at the next sign-in.
Account validityOptional Valid from / Valid until. See Account validity.
GroupsAdd the user to groups right away.

When a user is created, OkYouIn can e-mail them a Welcome message and an MFA setup link — both depend on your e-mail settings; see MFA overview.

A local password also lets the account sign in over RADIUS MS-CHAPv2 (for example through Microsoft NPS or a MikroTik router) with no extra setup. Directory accounts need a domain join or a readable hash for that.

Valid from and Valid until make an account usable only inside a time window — contractors, temporary staff, a guest for one project. Outside the window the user cannot sign in anywhere; either side may be left empty. The window is editable for directory accounts too.

Rules have a validity window of their own; the two are independent. See Global policy.

On a user’s page:

  • Activate / Deactivate — an inactive account cannot sign in anywhere and keeps everything else (groups, MFA). A directory account deactivated here stays deactivated: the directory sync will not switch it back on.
  • Lock / Unlock — independent of the active flag. An account is also locked automatically after too many wrong passwords (account lockout); Unlock ends that lock and resets the counter.
  • Reset password (local accounts) — sets a new password and signs out the user’s active sessions. Optionally require a change at the next login. Hand the new password over through a secure channel.
  • Multi-Factor Authentication — the user’s MFA status, provider, when it was enrolled and last used, with Send Setup Link, Reset MFA and Reset & Resend. See MFA overview.

A user whose status reads Held inactive by the license user limit is waiting for a free seat in your license.

Delete ends the user’s sessions and removes the account with its MFA enrollment and group memberships; it cannot be undone. Sign-in logs keep their entries. Directory accounts are removed by the directory sync, not here.

Export and Import on the Users and User Groups lists work with JSON, XLSX or CSV files. Download Template gives you a file in the right shape. Choose how rows that match an existing record are handled (Create only, Update existing, Fail on conflict) and use Dry run to see exactly what would be created, updated or refused before anything is saved. An import goes through the same checks as the form.

The password policy applies to local passwords — wherever one is set or checked. Directory accounts follow their directory’s own policy.

Open Settings ▸ System ▸ Authentication & Sessions:

SettingDefaultRange
Minimum password length128–128
Require uppercase / Require lowercase / Require digit / Require special charactersoff—
Password max age (days)0 (never expires)0–3650
Password history5 previous passwords refused0–24
Expiry warning (days)140–365

A rejected password comes back with every rule it violates.

A local password that has expired — or that carries Must change password at next login — must be changed before the account can be used. On the console the user is asked to change it right after signing in. Sign-ins that cannot show a password-change screen, such as a VPN over RADIUS, are refused until the password has been changed on the console.

The user can be e-mailed before the password expires (Settings ▸ Integrations ▸ Email, notification Password expiry warning) and gets a warning in the console.

The same page also holds the lockout and CAPTCHA settings and the console session timeouts.

Open Infrastructure ▸ Identity ▸ User Groups. The list shows each group’s source, whether it is an administrators group, its web sign-in mode, whether MFA is required, its RBAC model and its member count.

FieldEffect
Name, DescriptionThe name must be unique. Read-only for directory groups.
RBAC modelThe console permissions every member gets. Empty = no console permissions from this group. See Console roles & RBAC.
Administrators groupMembers get full access to the console.
Require MFAMembers must verify a second factor when they sign in to the console. See MFA overview.
Web sign-inInherit / Allow / Deny — whether members may sign in to the console at all. See Console access.

Members are added in the Members panel (or on the user’s own page). Directory groups get their members from the directory sync.

A group synchronized from a directory cannot be renamed, re-described or deleted here, and its members are whatever the directory says. You can still set the OkYouIn-side properties on it — RBAC model, administrators flag, MFA requirement and web sign-in — and use it in rules. This is the usual way to work: write rules for your existing AD security groups instead of recreating them.

Deleting a group removes the memberships; its members stay. A group used by a global or application rule, or chosen as the report recipients of a directory sync, cannot be deleted — the refusal lists what still uses it.

Every user who may sign in to the console has My account: their profile, their password (local accounts) and their Two-factor authentication method. A user with no console permissions sees only this page — that is how end users enroll and manage their own MFA method. Whether they may open the console at all is decided by console access.

The Users and Groups RBAC sections control who may view, create, edit and delete accounts and groups. Changing an administrator or an administrators group is reserved for administrators, and nobody can hand out more console permissions than they hold. See Console roles & RBAC.