What midPoint does with Linux and UNIX accounts over SSH
midPoint reaches each Linux or UNIX host over SSH through a connector, and that connector runs the account changes on the server. A team that wants midPoint to create, change and remove local accounts therefore has to choose which connector carries that work before anything else is scoped. The Evolveum catalog lists three options for this job. The UNIX connector comes from the ConnId framework and manages UNIX and Linux accounts over SSH, and Evolveum maintains it as supportable. The SSH connector runs scripts on UNIX systems and on Windows Server 2019, is also maintained by Evolveum as supportable, and suits teams whose account logic already lives in scripts they want midPoint to call. The community Adaptive SSH connector, maintained by Inalogy, is the third option and carries community rather than Evolveum support status.
The right connector depends on the account model, not on the fact that the hosts run SSH. Ask which local attributes midPoint must set (login name, UID and GID, home directory, shell, supplementary groups and sudo membership), whether accounts are created from a fixed template or by local scripts, and whether the servers are managed by a configuration tool such as an existing directory service. Each answer narrows the connector choice. Confirm the current support status of each connector in the Evolveum catalog before the work is scoped, because a community connector changes who answers for defects and upgrades. The Evolveum connector list is the place to check status and the ConnId origin of each connector at the time of planning.
Confirm the connector's documented behavior on the exact operating system versions in your estate, and test it against a non-production host before any production account is changed. Record which SSH account midPoint uses, how its key or password is stored, and which commands it is permitted to run, since that account will hold the power to change local accounts on every host it reaches. Those decisions shape the design of the rest of the integration, including how privileged sessions are controlled, which is covered in the sections that follow.
What Linux and UNIX account provisioning needs before setup
Most delays in SSH-based account provisioning come from decisions made before any connector is configured. The six items below cover the midPoint runtime, the host inventory, the automation account, network reachability, host key trust and connector status, and each one should be settled in writing before the build starts.
midPoint version and Java runtime
Pick the midPoint release first, because it fixes the Java runtime. Evolveum recommends Java 25 for midPoint 4.11 and later (Java 21 supported) and Java 21 for 4.10 and older (Java 17 supported). Confirm which release line you will run and whether it is an LTS or feature release, since the support end dates differ. Check the connector's supported midPoint versions against the same release.
System requirementsTarget host inventory
List every Linux and UNIX host that will receive local accounts, with its OS family, exact version, init and SSH configuration, and whether it is a production, test or disaster recovery system. Note which hosts use local /etc/passwd accounts, which are joined to a directory service such as FreeIPA or Active Directory, and which use sudo or pluggable authentication rules. Accounts managed by another identity source need a different design.
Dedicated automation account
Create a separate service account on each target host for midPoint, and decide its privilege model before setup. Confirm whether account creation needs root, a restricted sudo rule for specific commands such as useradd, usermod and userdel, or a wrapper script. Document who holds the credential, how it is rotated and which hosts it can reach. Avoid reusing an administrator login.
Network paths and SSH reachability
Map the route from the midPoint server, or from a remote connector server if you run one, to each target host on the SSH port your hosts use. Confirm firewall rules, proxies, bastion hosts and segmentation zones, and test a manual SSH login from the same network position before configuring the resource. Plan for the midPoint node count, since multi-node deployments must reach the same hosts consistently.
Host key trust
Decide how midPoint will verify each host's SSH key before the first connection. Collect the expected host key fingerprints through a trusted channel, record them in your change system, and plan how key changes after rebuilds or reimaging will be approved. Accepting unknown keys automatically removes the protection SSH offers and should be treated as a finding in any security review.
Connector status and version
Confirm the current status and version of the UNIX connector and the SSH connector in the Evolveum catalog, and whether the status is supportable or community. The catalog lists the UNIX connector and the SSH connector as supportable for Evolveum subscriptions, and a community Adaptive SSH connector from Inalogy. Ask Evolveum in writing which status applies to your target OS and midPoint release before you commit to a design.
Connector catalogHow midPoint reaches target hosts over SSH
The flow starts at the midPoint server in the administrative zone, which reads the SSH credential from the automation credential store. It reaches the target host either directly or through a remote connector server placed on a network segment near the hosts. The SSH session applies the account change to the host's local account database, and the outcome returns to midPoint, which records the resulting account state in its PostgreSQL repository. Check each trust boundary: who can read the credential, which network paths are open, and what each host accepts from the session.
Request path from midPoint to a target host and back to the repository.
Choosing between the UNIX, SSH and Adaptive SSH connectors
The UNIX connector is the option to evaluate first when the goal is to manage local user accounts on Linux and UNIX hosts over SSH. It carries the ConnId origin and is listed in the Evolveum catalog as a UNIX connector for UNIX and Linux systems, maintained by Evolveum as supportable. That status matters because it places the connector inside the scope of Evolveum's Product Support subscriptions, which cover resolving product bugs.
- Support status: Listed as supportable and maintained by Evolveum, so it falls under the vendor's subscription model.
- Typical reason to choose it: Account create, update and delete on standard Linux or UNIX hosts, with the account logic handled by the connector rather than by custom scripts.
- Fit for the team: Platform teams that want a vendor-maintained path and can keep host configuration consistent across servers.
- Question for Evolveum: Which Linux and UNIX distributions and versions are tested with the current midPoint release, and which account attributes and group operations are covered.
- Question for your own environment: Whether the SSH access model, sudo rules and key handling your hosts use match what the connector expects.
Confirm the connector's support scope in writing before you list it as in scope for a subscription.
The SSH connector runs scripts on remote systems over SSH. The catalog lists it for UNIX systems and for Windows Server 2019, and Evolveum maintains it as supportable. Choose it when the account logic already lives in scripts that your team owns, such as a standard useradd wrapper, a group membership routine or a host-specific onboarding step, and you want midPoint to call those scripts rather than model every operation in the connector.
- Support status: Listed as supportable and maintained by Evolveum, the same vendor support path as the UNIX connector.
- Typical reason to choose it: Existing automation that must be reused, or hosts whose account handling differs enough that a generic connector would need heavy workarounds.
- Mixed estates: It is the option the catalog names for Windows Server 2019 alongside UNIX systems, which matters if the same integration must cover both.
- Question for Evolveum: Who is responsible for fixing defects in the scripts themselves versus in the connector, and how support is scoped when the logic is customer-written.
- Question for your own environment: Whether the scripts are reviewed, versioned and tested, because midPoint will execute them with the privileges of the SSH account.
Because the scripts carry the account logic, plan their review and change control as part of the build, not as an afterthought.
The Adaptive SSH connector is a community connector maintained by Inalogy and listed in the Evolveum catalog. It is the option to consider when the team needs features that the supportable connectors do not provide and accepts that support comes from the community and the maintainer rather than from Evolveum's subscription. Treat the decision as a governance decision as much as a technical one, because the owner of defects and upgrades changes.
- Support status: Community, maintained by Inalogy. It is not described in the catalog as supportable by Evolveum.
- Typical reason to choose it: A specific feature or host behavior that the supportable connectors lack, after you have confirmed that gap in a test environment.
- Support model: Plan for your own testing, patching and upgrade verification, and decide who answers for an outage caused by the connector.
- Question for Evolveum: Whether the feature you need is covered by a supportable option, and whether Evolveum would support midPoint behavior that involves this community connector.
- Question for Inalogy: Release history, compatibility with your midPoint version, and how security fixes are delivered.
Record the community status in your risk register and in the design document before any production host is connected.
How to configure midPoint for Linux and UNIX account provisioning
This sequence takes a team from choosing the right SSH connector to safely managing local accounts on production hosts. Each step ends with a check so the pilot proves the connection, the account inventory and the lifecycle operations before any wider rollout.
Confirm connector choice and support status
The platform owner and the Evolveum subscription contact decide which connector fits the estate: the Evolveum UNIX connector for UNIX and Linux systems over SSH, the SSH connector for script execution on UNIX systems and Windows Server 2019, or the community Adaptive SSH connector maintained by Inalogy. Record each connector's support status in the design document, because it determines what your subscription covers. Confirm the status in the Evolveum connector list before the pilot starts. Done when the design record names one connector per host type with its support status and an owner.
Create the automation account and command scope
The Linux administration team creates a dedicated, non-interactive automation account on a pilot host and grants it only the commands midPoint needs to manage local users and groups, such as user and group creation, modification and locking. Scope these rights through sudo rules that list exact commands, and avoid a general root shell. Confirm the exact command set with your security team and your connector documentation, since command requirements vary by connector and distribution. Done when the account can run each approved command under sudo on the pilot and is denied any command outside the list.
Set up key-based SSH and host key verification
Generate a dedicated key pair for the automation account, store the private key in your secrets management system with restricted access, and install the public key on the pilot host with the narrowest workable source restrictions. Record the pilot host's SSH host key fingerprint through a trusted channel and configure midPoint to verify it, so a changed or spoofed host key stops the connection rather than being accepted silently. Done when a manual SSH login with the key succeeds, a login with a wrong host key is refused, and the fingerprint is recorded in the design document.
Create the midPoint resource and test the connection
The midPoint administrator creates a resource that uses the chosen connector, pointing at the pilot host, the automation account and the key stored in your secrets system. Configure the account object class, the attributes that map to your naming standard, and the test timeouts in the resource definition. Run the resource connection test and the schema fetch from the midPoint interface or through the REST API. Done when the connection test reports success and the schema lists the expected account attributes with no errors in the midPoint log.
Import existing accounts and run read-only reconciliation
Run an import task so midPoint reads the existing local accounts on the pilot host without changing anything. Then run a reconciliation task in a read-only mode and review the report, which lists accounts that have no midPoint owner, accounts that match a user, and attributes that differ. Work with the application and system owners to classify each unexpected difference as a correlation rule to fix, a legitimate local account to exclude, or a defect to resolve. Done when the reconciliation report shows no unexpected differences and every local account has a documented disposition.
Enable create, update and disable on the pilot
Enable the create, update and disable operations in the resource's capabilities and the mappings that drive them, then test each one with a clearly named test identity on the pilot host only. Confirm that a new account is created with the expected home directory, shell and group membership, that an attribute change is applied, and that a disabled account can no longer log in. Keep a rollback step for each operation in your runbook before expanding. Done when all three operations succeed on the test identity, the audit trail records each change, and the same reconciliation report is still clean.
Expand to additional hosts in controlled waves
Repeat the connection, reconciliation and lifecycle tests on each additional host group rather than adding the whole estate at once, using the same automation account pattern and host key verification for each group. Review the reconciliation output after each wave and confirm that the safety thresholds in midPoint would stop a mass change caused by a faulty mapping. Ask your provider or internal team to confirm how privileged access tools will coexist with midPoint-managed accounts on hosts where they are used. Done when each wave passes its checks and the owners sign off on the host group's inventory.
How midPoint attributes map to Linux and UNIX accounts
This table compares each part of a Linux or UNIX account with the midPoint source that drives it, the owner of that value and the correlation concern it raises. Read it as a starting design: exact attribute names and operations come from the UNIX and SSH connector configuration reference and must be confirmed on a pilot host before any rule goes to production.
| Account element | midPoint source | Owner of the value | Notes on correlation and confirmation |
|---|---|---|---|
| Account identifier | Identity object from HR or the authoritative source, mapped to the midPoint user | HR or identity team | Correlate on a stable employee identifier, not on the login name, so renames do not create duplicate accounts. Confirm which attribute the connector uses as the unique key. |
| Login name | Derived from the user's name or identifier through a mapping expression | Identity team, with naming standards from the security team | Check collisions with existing local accounts on each host before enabling provisioning. Confirm the attribute name and any length or character limits on a pilot host. |
| Home directory | Mapping from the login name or a home path attribute on the user | Platform team | Decide whether home directories are created by the connector or by existing tooling. Confirm whether the connector creates the directory or only sets the path. |
| Login shell | Attribute on the user, or a default set by an object template | Platform team, with approval for non-default shells | Limit shells to an approved list. Confirm the attribute name and whether shell changes are applied on update. |
| Primary group | Assignment to a group object or a role that induces a primary group | Platform team | Primary group IDs must exist on the host before assignment. Confirm how the connector resolves group names to numeric IDs. |
| Supplementary group membership | Role or assignment that grants group membership, with the role model as the source | Application or resource owner approves; identity team provisions | Membership is the main access grant on most hosts, so it needs the strongest review. Confirm whether the connector replaces the full group list or only adds and removes the listed groups. |
| Lifecycle state | Activation status on the user, driven by HR joiner, mover and leaver events | HR for status; identity team for deprovisioning rules | Disabling an account and removing groups are different actions. Confirm which operation the connector performs on disable and delete, and whether files are kept. |
Securing the SSH path and the accounts it creates
The SSH connector gives midPoint a standing path into your servers, and every account it creates there inherits the risk of that path. The six controls below cover the automation identity, the keys it uses, how it trusts hosts, where secrets live, who can reach it, and what gets logged. Hardening midPoint itself is covered in the midPoint security hardening topic.
Dedicated least-privileged automation account
Create a separate service account on each target host for midPoint, used by no person and no other automation. Grant it only the sudo rules needed to create, modify and remove the specific local account and group operations the connector performs, such as useradd, usermod, userdel and password or group changes, with explicit command paths and no unrestricted shell. Review the sudoers entries whenever the connector or its script set changes, because a broad rule here becomes a root path for anyone who compromises midPoint.
Key-based authentication with managed rotation
Authenticate the connector with a dedicated SSH key pair rather than a password, and restrict the public key on each host with options such as a forced command or source restriction where your SSH configuration allows it. Set a rotation schedule with an owner, a procedure to add the new key before removing the old one, and a test that confirms midPoint can still reconcile after each change. Confirm with Evolveum which key types and passphrase handling the connector version supports.
Host key verification before trust
Pin the expected SSH host keys for every target so that midPoint refuses connections to an unknown or changed host instead of accepting the first key it sees. Record fingerprints from a trusted channel during onboarding and treat any host key change as an incident until it is verified. Confirm how the connector exposes host key checking settings in your version, because an option that disables verification is a common shortcut that should be blocked by policy.
Private key kept in an approved secrets store
Keep the private key out of midPoint configuration files, repositories and backups in plain text. Store it in the secrets platform your security team has approved, and give midPoint access through a narrowly scoped identity with its own audit trail. Limit who can read the key, include it in the rotation process, and confirm that exports of midPoint configuration exclude key material. Your secrets platform choice should be confirmed with your security team before the connector is configured.
Restricted source addresses and segmentation
Allow SSH to the target hosts only from the midPoint server or the connector server, and place that path on a management network segment with firewall rules that block other sources. Where midPoint runs as a multi-node deployment, list each node's address explicitly. If a remote connector server is used, treat it as part of the same trust boundary and document its placement. Test the rules from a host that should be blocked to confirm the restriction works.
Audit logging on midPoint and target hosts
Log what midPoint asks each host to do and what the host records. On midPoint, keep the provisioning and task history that shows which account changed, when and from which resource. On each host, forward SSH authentication events and sudo command records to a central log store that midPoint administrators cannot edit. Compare the two sources during periodic reconciliation so that a change made outside midPoint shows up in one place or the other.
Where privileged access tools fit instead of direct SSH provisioning
midPoint should decide who holds a local account on a server and which account attributes and group memberships that identity is provisioned with. It should not be the component that brokers SSH sessions, grants root on demand, or records what a privileged user typed. Those controls belong to privileged access management (PAM) tooling or a secrets service that sits in the SSH path. When a team wants shared root access controlled by session brokering, or wants credentials issued just in time for a short window, the design should place that tool in front of the servers and keep midPoint responsible for the account lifecycle behind it: joiner, mover and leaver events, role-based grants and removal when someone leaves.
Before choosing, confirm which tools you already run. Many organizations already have a PAM product, a secrets manager that issues SSH certificates, or a bastion with session recording. If one of these is in place, the question becomes how its privileged accounts are created and removed, and midPoint may be the system of record for that. Ask the PAM vendor which identity source it accepts, whether it can read group membership from midPoint's target or from your directory, and where it stores recordings. Map each privileged path, from user to bastion to host, before you assign the connector work.
If you want centralized Linux identity and host access policy instead of a separate broker, FreeIPA is the option to evaluate. It holds users, groups, host-based access rules and Kerberos authentication for enrolled Linux hosts, which changes where the account lives and how access is enforced. The sibling topic on midPoint and FreeIPA identity provisioning covers the community connector, user and group sync, and how that pairs with LDAP-based provisioning. Choose one primary source of truth for Linux accounts, because two systems each claiming to own the same local user will produce conflicting state that midPoint cannot resolve on its own.
Common Linux and UNIX provisioning failures and their fixes
This table lists the failures teams most often see when midPoint manages local accounts over SSH, with the likely cause and the fix. Read each row by starting with the first check listed, because most failures trace back to network reachability, the account midPoint logs in as, or the scope of its sudo rights. Confirm exact connector settings and sudo syntax against the connector documentation for your midPoint version before changing production resources.
| Symptom | Likely cause | Fix and first check |
|---|---|---|
| Connection refused or timeout on the resource test | Network path, firewall or wrong SSH port between the midPoint node and the target host | Run a plain SSH connection from the midPoint server to the same host, port and account. Open the required path in firewall rules and confirm the port in the resource configuration. |
| Authentication failed on the resource test | Public key not authorized for the service account, or the midPoint account name differs from the one on the host | Confirm the key is in the service account's authorized keys file and that the account name in the resource matches the local login. Check file permissions on the key and the account's home directory. |
| Host key verification fails after a rebuild | Server was reinstalled or its host key changed, so the stored known hosts entry no longer matches | Verify the new fingerprint through your server build records, then update the trusted host key in midPoint's connector configuration. Do not disable host key checking as a shortcut. |
| Command denied or sudo prompts for a password | The sudo rule for the midPoint service account covers fewer commands than the connector runs, or requires a password | Compare the commands in the connector logs with the sudoers entry. Grant only the exact user-management commands needed, and confirm the rule is non-interactive for that account. |
| Accounts created with mismatched home directories or primary groups | Mapping in midPoint does not set home path, shell or primary group, so the host falls back to its defaults | Review the attribute mappings for home directory, shell and group against your host standard. Test on one non-production host and inspect a created account with the id and getent commands. |
| Reconciliation reports drift on accounts someone changed locally | Local changes such as shell, group or lock state were made directly on the host, outside midPoint | Decide whether midPoint or the host is the source for each attribute, then configure the attribute as authoritative or ignored. Run a reconciliation in report-only mode first to list the differences. |
| Leaver accounts still belong to groups after disablement | Deprovisioning disables the login but group membership attributes are not removed, or the group is managed by a separate process | Check the leaver mapping and the group membership sync for that resource. Confirm with groups on the host that the account has no residual groups, then review whether any groups are managed outside midPoint. |
What Linux and UNIX account provisioning costs and how long it takes
What drives the cost of managing Linux and UNIX accounts from midPoint?
Cost follows the number of host types, the account model and the privilege design, more than the number of servers alone. Each distinct operating system family, shell setup, and way of managing sudo rights or local groups needs its own mapping and testing. Connector choice matters too: the Evolveum UNIX connector and the SSH connector each carry different scripting and configuration work. Reconciliation scope adds effort, since comparing every local account on every host takes more design than comparing a defined set of managed accounts. Ask the quote to break the work down by host type, account model and reconciliation scope so you can see which items move the total.
Is Linux and UNIX provisioning a one-time project or ongoing work?
Both. The initial build covers connector setup, mappings, test accounts and the first rollout across host groups. Recurring work follows: maintaining connector configuration as hosts change, onboarding new servers, and updating the setup when the connector or midPoint itself moves to a new version. Each midPoint release line has its own support window, so an upgrade plan should be part of the recurring budget. Ask whether the quote includes post-go-live support, and whether connector version changes are covered by a retainer or billed separately.
How long does a Linux and UNIX provisioning pilot usually take?
The pilot length depends on how many host types are in scope and how quickly your team can approve access to test hosts. A pilot on one or two host types with a small set of named accounts is shorter than one that covers mixed distributions, several privilege models and a reconciliation run. Change windows and security review of the SSH key or credential path also set the pace. No standard duration applies, so ask the proposal to state the pilot's scope, the host types it covers and the exit criteria in writing.
What must our team provide before provisioning work can start?
Four inputs make the schedule realistic:
- A host inventory listing operating systems, versions, existing local account practices and which hosts are in scope
- Written access approvals for the service account midPoint uses over SSH, including the privileges it needs
- A change window on non-production hosts for testing, and a separate window for production rollout
- Named owners for each host group, the identity source and the approval process
Missing any of these usually moves the pilot rather than changing the design. Confirm each item in the kickoff plan.
Can our own team run Linux and UNIX provisioning with midPoint?
Yes, if your team has the skills to run midPoint and to manage SSH-based automation on your hosts. The UNIX and SSH connectors are maintained by Evolveum and marked as supportable in the Evolveum catalog, which means subscription support is available for resolving product bugs through Evolveum's Product Support subscriptions. Support covers product issues, not your host configuration, mappings or privilege design. Community connectors, such as the Adaptive SSH connector maintained by Inalogy, carry community status, so confirm what support is available before depending on one. Check the catalog's current status before you decide.
What does the supportable status of the UNIX and SSH connectors mean for us?
Supportable means Evolveum maintains the connector and can resolve product bugs under a subscription, while community connectors depend on their maintainers. Evolveum's Product Support subscriptions offer an 8x5 next-business-day or 24x7 SLA, and Platform Subscriptions add feature development and roadmap influence. The page does not list prices, so you need a quote. Supportable status does not cover your host-side scripts, privilege design or custom mappings. Ask the vendor to confirm the connector's status and the subscription tier that applies to your midPoint version.
What should a written quote for Linux and UNIX provisioning include?
A quote should follow from a written scope, not a generic estimate. Ask for:
- The host types, operating system families and account models in scope, with any exclusions
- Connector choice and the reasoning for it, including the support status of each connector
- Privilege design, including how sudo rights and local groups are handled
- The reconciliation scope and the safety controls for deprovisioning
- The pilot exit criteria, rollout sequence and change windows your team must allow
- Which items are one-time and which are recurring, with upgrade and connector version handling
- Your responsibilities, named owners and the acceptance criteria
DeployOpen works on fixed scope agreed in writing before work starts, so a quote should trace back to that document.
How DeployOpen scopes and delivers Linux and UNIX provisioning
DeployOpen plans, implements, tests and documents midPoint in your own infrastructure, including the UNIX and SSH connector work for local accounts on your servers. Engagements are fixed-scope, with deliverables and timelines agreed in writing before any build starts.
How we scope
- Inventory which Linux and UNIX host groups, local account types and sudo or group rules midPoint should manage.
- Confirm connector support status and the Evolveum subscription position before the connector enters the build.
- Agree in writing which hosts, accounts, lifecycle events and reconciliation runs fall inside the fixed scope.
How we build
- Configure the UNIX or SSH connector against a dedicated service account with only the permissions the scope requires.
- Test create, update, disable and delete flows on non-production hosts, then review audit output and failure handling.
- Document mappings, key handling, host lists and rollback steps so your platform team can run the integration after handover.
How we hand over
- Deliver a written runbook covering connector configuration, service account rotation, and reconciliation schedules.
- Walk your administrators through the normal and failure paths, including what to do when an SSH session fails.
- Record which hosts were not covered and where privileged access tools should take over, so the scope boundary is clear.
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer after the initial delivery.
- Plan midPoint upgrades through the supported release path so the connector keeps working on each version.
- Retest after changes to hosts, SSH configuration or midPoint versions, and agree the retest scope in writing.

