# Managing FreeIPA Users and Groups: Identity Lifecycle in Practice

Source: https://forgeone.solutions/en/tech/managing-freeipa-users-groups-identity-lifecycle-practice
Language: en
Published: 2026-09-19
Updated: 2026-11-21

Operate FreeIPA users and groups on Fedora 44: identity lifecycle, group model, POSIX attributes, login checks and deprovisioning.

## Overview

Part 3 of the Identity series covers the practical FreeIPA lifecycle: stage users, activation, active users, disabled users, preserved users, restore, groups, nested groups, member managers and the effect on enrolled Linux clients.

The lab used Fedora 44, FreeIPA 4.13.3, SELinux Enforcing, a real Web UI login with a trusted lab CA and CLI/client evidence.

[![FreeIPA active users](https://forgeone.solutions/media/01-authenticated-dashboard-2.png)](https://forgeone.solutions/media/01-authenticated-dashboard-2.png)

FreeIPA active users. The screenshot comes from the isolated Fedora 44 / FreeIPA 4.13.3 lab.

## Lab Baseline

```bash
Server:        ipa01.example.test
Client:        client01.example.test
Domain:        example.test
Realm:         EXAMPLE.TEST
FreeIPA:       4.13.3
SSSD:          2.13.1
SELinux:       Enforcing
```

## Stage Users and Activation

Stage users are prepared accounts that are not yet normal active users. The lab created stage-alpha as a stage user and then activated it. After activation, the user appears in Active Users.

```bash
ipa stageuser-add stage-alpha --first Stage --last Alpha
ipa stageuser-activate stage-alpha
ipa user-show stage-alpha --all
```

[![FreeIPA stage users](https://forgeone.solutions/media/02-stage-users-2.png)](https://forgeone.solutions/media/02-stage-users-2.png)

FreeIPA stage users. The screenshot comes from the isolated Fedora 44 / FreeIPA 4.13.3 lab.

[![FreeIPA stage-alpha user after activation](https://forgeone.solutions/media/03-stage-user-detail-2.png)](https://forgeone.solutions/media/03-stage-user-detail-2.png)

FreeIPA stage-alpha user after activation. The screenshot comes from the isolated Fedora 44 / FreeIPA 4.13.3 lab.

## Active and Disabled Users

Active users are visible through FreeIPA, SSSD and Kerberos. A disabled user can still resolve as an identity while authentication is denied. This distinction matters: identity resolution is not authentication permission.

```bash
ipa user-add disabled-user --first Disabled --last User
ipa user-disable disabled-user
getent passwd disabled-user
kinit disabled-user
```

[![Disabled FreeIPA user disabled-user](https://forgeone.solutions/media/06-disabled-user-2.png)](https://forgeone.solutions/media/06-disabled-user-2.png)

Disabled FreeIPA user disabled-user. The screenshot comes from the isolated Fedora 44 / FreeIPA 4.13.3 lab.

## Preserved Users and Restore

Preserve deletion keeps a user object for restore and audit purposes. The lab left preserved-user visible as a preserved user and restored restored-user.

```bash
ipa user-del preserved-user --preserve
ipa user-find preserved-user --preserved=true
ipa user-undel restored-user
```

[![Preserved users in FreeIPA with preserved-user](https://forgeone.solutions/media/07b-preserved-users-tab-2.png)](https://forgeone.solutions/media/07b-preserved-users-tab-2.png)

Preserved users in FreeIPA with preserved-user. The screenshot comes from the isolated Fedora 44 / FreeIPA 4.13.3 lab.

[![Restored FreeIPA user restored-user](https://forgeone.solutions/media/11-restored-user-2.png)](https://forgeone.solutions/media/11-restored-user-2.png)

Restored FreeIPA user restored-user. The screenshot comes from the isolated Fedora 44 / FreeIPA 4.13.3 lab.

## Groups, Nested Groups and Member Managers

FreeIPA groups are central POSIX groups. In the lab, engineering contains the user life-active and the nested group linux-admins. webadmin is configured as member manager for engineering.

```bash
ipa group-add engineering --desc="Engineering users"
ipa group-add linux-admins --desc="Linux administrators"
ipa group-add-member engineering --users life-active
ipa group-add-member engineering --groups linux-admins
ipa group-add-member-manager engineering --users webadmin
```

[![Nested FreeIPA group engineering with linux-admins](https://forgeone.solutions/media/09b-nested-group-members-tab-2.png)](https://forgeone.solutions/media/09b-nested-group-members-tab-2.png)

Nested FreeIPA group engineering with linux-admins. The screenshot comes from the isolated Fedora 44 / FreeIPA 4.13.3 lab.

[![FreeIPA member manager webadmin for engineering](https://forgeone.solutions/media/10b-member-manager-users-tab-2.png)](https://forgeone.solutions/media/10b-member-manager-users-tab-2.png)

FreeIPA member manager webadmin for engineering. The screenshot comes from the isolated Fedora 44 / FreeIPA 4.13.3 lab.

## Client Evidence

The Web UI shows the FreeIPA state. The important second check is what an enrolled Linux client sees: SSSD resolves identities and groups, Kerberos allows valid logins and negative tests block disabled accounts.

```bash
ipa stageuser-add stage-alpha --first Stage --last Alpha
ipa stageuser-activate stage-alpha
ipa user-show stage-alpha --all

Added stage user "stage-alpha"
Stage user stage-alpha activated
User login: stage-alpha
UID: 310200003
GID: 310200003
Account disabled: False
Preserved user: False
```

```bash
getent passwd stage-alpha
id stage-alpha
getent passwd life-active
id life-active

stage-alpha:*:310200003:310200003:Stage Alpha:/home/stage-alpha:/bin/bash
uid=310200003(stage-alpha) gid=310200003(stage-alpha) groups=310200003(stage-alpha)
life-active:*:310200004:310200004:Life Active:/home/life-active:/bin/bash
uid=310200004(life-active) gid=310200004(life-active) groups=310200004(life-active),310200008(engineering)
```

```bash
kinit life-active
klist
ssh life-active@client01.example.test
pwd

Ticket cache: KCM:1001
Default principal: life-active@EXAMPLE.TEST
krbtgt/EXAMPLE.TEST@EXAMPLE.TEST
life-active
/home/life-active
```

```bash
ipa user-disable life-active
kinit life-active
ssh life-active@client01.example.test

kinit: Client's credentials have been revoked while getting initial credentials
DISABLED_KINIT_RC=1
DISABLED_SSH_RC=5
```

## Result Check

| Area | Check | Expected Result | Status |
| --- | --- | --- | --- |
| Web UI | Login with trusted FreeIPA CA | Browser receives valid ipa\_session and /ipa/session/json is authenticated | PASS |
| Stage user | Create and activate | Stage user becomes active user | PASS |
| Disable/enable | Disable user and run negative login test | Identity still resolves, authentication is blocked | PASS |
| Preserved user | Preserve and restore | Preserved user visible, restore works | PASS |
| Groups | POSIX and nested groups | Groups and nested membership are visible | PASS |
| Member manager | Delegated group maintenance | Member manager is visible | PASS |
| Client | SSSD/Kerberos/SSH/negative tests | Client behavior matches FreeIPA state | PASS |

## Limits of This Part

- This part covers identity lifecycle, not HBAC, sudo rules, replication, backup or Keycloak.
- The lab used Fedora 44 with FreeIPA 4.13.3 in an isolated environment.
- Production environments additionally need role design, backup, monitoring, password policies and change processes.

## FreeIPA 2026 Step by Step

## Technical Acceptance

User and group management is clean only after creation, group membership, login, POSIX resolution and deprovisioning are tested.

```bash
ipa user-add opsallowed --first=Ops --last=Allowed --password
ipa group-add ops-team --desc="Operations team"
ipa group-add-member ops-team --users=opsallowed
ipa user-show opsallowed --all
ipa group-show ops-team
getent passwd opsallowed
id opsallowed
```

| Area | Check | Result |
| --- | --- | --- |
| User lifecycle | create, show and disable user | PASS required |
| Groups | membership visible centrally | PASS required |
| POSIX | uid/gid and groups resolve on client | PASS required |
| Login | Kerberos/SSH with test user works | PASS required |
| Deprovisioning | disabled user can no longer log in | PASS required |

## Do Not Skip This

- Define naming scheme and group model before rollout.
- Separate service accounts and person accounts.
- Test disable/deprovisioning, not only creation.
- Do not mistake groups for HBAC or sudo policy.

## Hero image

[![FreeIPA active users](https://forgeone.solutions/media/01-authenticated-dashboard-2.png)](https://forgeone.solutions/media/01-authenticated-dashboard-2.png)

## Author

Mathias Rumbold

## Category

- [Identity & Access](https://forgeone.solutions/en/tech/managing-freeipa-users-groups-identity-lifecycle-practice?category=identity-access)

## Tags

- [FreeIPA](https://forgeone.solutions/en/tech/managing-freeipa-users-groups-identity-lifecycle-practice?tags=freeipa)
- [Identity Management](https://forgeone.solutions/en/tech/managing-freeipa-users-groups-identity-lifecycle-practice?tags=identity-management)
- [Linux](https://forgeone.solutions/en/tech/managing-freeipa-users-groups-identity-lifecycle-practice?tags=linux)
- [Kerberos](https://forgeone.solutions/en/tech/managing-freeipa-users-groups-identity-lifecycle-practice?tags=kerberos)
- [Security](https://forgeone.solutions/en/tech/managing-freeipa-users-groups-identity-lifecycle-practice?tags=security)
- [Red Hat IdM](https://forgeone.solutions/en/tech/managing-freeipa-users-groups-identity-lifecycle-practice?tags=red-hat-idm)
- [fedora](https://forgeone.solutions/en/tech/managing-freeipa-users-groups-identity-lifecycle-practice?tags=fedora)

## Need a clean identity lifecycle?

ForgeOne supports FreeIPA, Red Hat IdM, Keycloak, Linux client integration, SSO, MFA and documented operations.

[Discuss an identity project](https://forgeone.solutions/en/contact)

## Identity Management mit FreeIPA und Keycloak

Die Beiträge bauen praktisch aufeinander auf: Fedora-44-basierter FreeIPA-Server, Linux-Clients, Identity-Lifecycle, Passwort-Richtlinien, HBAC, sudo-Regeln, Kerberos-Keytabs, Updates, Backup, Recovery und Hochverfügbarkeit.

1. [Installing FreeIPA: From the First Server to an Enrolled Linux Client](https://forgeone.solutions/en/tech/install-freeipa)
2. [Connect Linux Clients to FreeIPA: SSSD, Kerberos and Centralized Users](https://forgeone.solutions/en/tech/connect-linux-clients-freeipa-sssd-kerberos-centralized-users)
3. [Managing FreeIPA Users and Groups: Identity Lifecycle in Practice (current part)](https://forgeone.solutions/en/tech/managing-freeipa-users-groups-identity-lifecycle-practice)
4. [FreeIPA Password Policies in Practice: Expiration, Lockout and Authentication Behavior](https://forgeone.solutions/en/tech/freeipa-password-policies-expiration-lockout-practice)
5. [FreeIPA HBAC in Practice: Control SSH Access by User, Group and Host](https://forgeone.solutions/en/tech/freeipa-hbac-ssh-access-user-group-host-practice)
6. [FreeIPA sudo rules in practice: delegate commands without root passwords](https://forgeone.solutions/en/tech/freeipa-sudo-rules-command-delegation-practice)
7. [Kerberos service principals and keytabs with FreeIPA in practice](https://forgeone.solutions/en/tech/freeipa-kerberos-service-principals-keytabs-practice)
8. [Updating FreeIPA: package updates, replicas and client compatibility checks](https://forgeone.solutions/en/tech/freeipa-update-package-updates-replicas-client-compatibility)
9. [FreeIPA backup in practice: ipa-backup, certificates, LDAP and recovery windows](https://forgeone.solutions/en/tech/freeipa-backup-ipa-backup-certificates-ldap-recovery)
10. [FreeIPA disaster recovery: restore, replica rebuilds and emergency access testing](https://forgeone.solutions/en/tech/freeipa-disaster-recovery-restore-replica-rebuild-emergency-access)
11. [Running FreeIPA highly available: replication, CA roles, DNS and maintenance workflows](https://forgeone.solutions/en/tech/freeipa-high-availability-replication-ca-dns-maintenance)
