Skip to content
Skills Library
DevOps & cloud · Building & coding

linux-centrify

/linux-centrify

Use when configuring Centrify (Delinea Server Suite) on Linux — Active Directory domain join, adclient/adinfo/adquery commands, zone-based access control, PAM/NSS integration, Centrify DirectAuthorize (dzdo/dzsh), role-based privilege elevation, group policy for Linux, centrify.conf tuning, certificate auto-enrollment, multi-forest trust, offline MFA, troubleshooting domain connectivity, and migration from legacy authentication. Works with Ubuntu 24.04 and RHEL 9.

Licence
MIT
Last repository change
31.07.2026

Assessment and security

95/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content30 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
4
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 31.07.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Use when configuring Centrify (Delinea Server Suite) on Linux — Active Directory domain join, adclient/adinfo/adquery commands, zone-based access control, PAM/NSS integration, Centrify DirectAuthorize (dzdo/dzsh), role-based privilege elevation, group policy for Linux, centrify.conf tuning, certificate auto-enrollment, multi-forest trust, offline MFA, troubleshooting domain connectivity, and migration from legacy authentication. Works with Ubuntu 24.04 and RHEL 9.

Original author description

Use when configuring Centrify (Delinea Server Suite) on Linux — Active Directory domain join, adclient/adinfo/adquery commands, zone-based access control, PAM/NSS integration, Centrify DirectAuthorize (dzdo/dzsh), role-based privilege elevation, group policy for Linux, centrify.conf tuning, certificate auto-enrollment, multi-forest trust, offline MFA, troubleshooting domain connectivity, and migration from legacy authentication. Works with Ubuntu 24.04 and RHEL 9.

How it works

  1. Reference Files
  2. Anti-Patterns
  3. Related Skills
Original SKILL.md headings · 72 lines, 632 words
SKILL.md preview
---
name: linux-centrify
description: Use when configuring Centrify (Delinea Server Suite) on Linux — Active Directory domain join, adclient/adinfo/adquery commands, zone-based access control, PAM/NSS integration, Centrify DirectAuthorize (dzdo/dzsh), role-based privilege elevation, group policy for Linux, centrify.conf tuning, certificate auto-enrollment, multi-forest trust, offline MFA, troubleshooting domain connectivity, and migration from legacy authentication. Works with Ubuntu 24.04 and RHEL 9.
---

# Centrify / Delinea Server Suite — Linux Administration

Comprehensive guide for deploying and managing Centrify (now Delinea Server Suite) on Linux systems joined to Active Directory. Covers DirectControl (AD join and identity), DirectAuthorize (privilege elevation), and DirectAudit (session recording). For base OS administration, see companion skills: `ubuntu-server-admin`, `rhel-server-admin`.

<HARD-RULE>
Always verify DNS resolution and NTP synchronization before attempting a domain join. Centrify depends on accurate DNS (forward and reverse) and time within 5 minutes of the domain controller. Skipping this causes the majority of join failures.
```bash
# Verify DNS resolves domain and DCs
nslookup DOMAIN.EXAMPLE.COM
nslookup -type=SRV _ldap._tcp.DOMAIN.EXAMPLE.COM
host -t SRV _kerberos._tcp.DOMAIN.EXAMPLE.COM

# Verify time sync (max 5-minute skew for Kerberos)
timedatectl status
chronyc tracking        # RHEL 9
chronyc sources -v      # Ubuntu 24.04 / RHEL 9
```
</HARD-RULE>

<HARD-RULE>
Never delete the computer account from Active Directory while the Centrify agent (adclient) is running on the machine. This orphans the host, breaks Kerberos authentication, and requires a forced leave/rejoin. Always run `adleave` from the Linux host first, then clean up the AD object if needed.
</HARD-RULE>

<HARD-RULE>
Always back up centrify.conf before making changes. A misconfigured centrify.conf can lock out all AD users.
```bash
sudo cp /etc/centrifydc/centrify.conf /etc/centrifydc/centrify.conf.bak.$(date +%Y%m%d%H%M%S)
```
</HARD-RULE>

<HARD-RULE>
Test zone changes (role assignments, command rights, access permissions) in a staging/dev zone before applying to production zones. Zone misconfigurations can instantly lock out users or grant unintended privileges across all machines in that zone.
</HARD-RULE>

---

## Reference Files

Detailed code examples, patterns, and configuration are in the reference files below. Read the relevant file when working on that area.

| File | Covers |
|---|---|
| [install-domainjoin-config.md](install-domainjoin-config.md) | architecture overview, installation, domain join, and centrify.conf configuration |
| [troubleshooting-migration-reference.md](troubleshooting-migration-reference.md) | troubleshooting, migration patterns, OS-specific notes, and essential commands quick reference |
| [zones-privileges-pam-gpo.md](zones-privileges-pam-gpo.md) | zone-based access control, privilege elevation (dzdo/dzsh), PAM/NSS integration, Group Policy for Linux, multi-forest/trust, and user/group management |

---

---

## Anti-Patterns

| Anti-Pattern | Why It Fails | Correct Approach |
|---|---|---|
| Joining Linux to AD without verifying DNS and NTP first | adclient relies on Kerberos which requires accurate time sync and proper DNS SRV records; join fails silently or intermittently | Verify DNS resolution of AD domain controllers and NTP sync (within 5 minutes) before running adjoin |
| Granting dzdo ALL to AD groups instead of granular commands | Equivalent to giving root; violates least privilege; audit findings in regulated environments | Define specific command rights in Centrify zones; map AD groups to role-based command sets |
| Not configuring PAM/NSS fallback for local accounts | If adclient goes offline (network issue, DC unavailable), no one can log in — including emergency accounts | Keep local emergency accounts in /etc/passwd with PAM configured to fall back to local auth if Centrify is unavailable |
| Using a single Centrify zone for all servers | Different server roles need different access policies; one zone means one permission set for everything | Create zones by function (web servers, database servers, batch servers); assign AD groups per zone |
| Not monitoring adclient health and domain connectivity | Silent disconnection from AD; users locked out; security events not captured until someone tries to log in | Monitor `adinfo --mode` and `adinfo --domain` via cron or Prometheus exporter; alert on offline status |

---

## Related Skills

| Skill | Relationship |
|---|---|
| `ubuntu-server-admin` | Base OS administration for Ubuntu 24.04 — prerequisites (DNS, NTP, networking, PAM, NSS) |
| `rhel-server-admin` | Base OS administration for RHEL 9 — prerequisites (DNS, NTP, firewalld, SELinux, authselect) |
| `docker-admin` | Running Centrify in containers — agent-per-container vs host-level join, identity propagation |
| `windows-sso` | AD FS, Entra ID, SAML/OAuth SSO — the Windows side of the same AD infrastructure |
Files in this package (4)
  • SKILL.md 5 KB
  • install-domainjoin-config.md 14 KB
  • troubleshooting-migration-reference.md 12 KB
  • zones-privileges-pam-gpo.md 10 KB

Versions

The database has no other skills named linux-centrify.

Database snapshot: 13.11.2026 · package version cba6fab93f11 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 98implementing-delinea-secret-server-for-pam
    Implements Delinea Secret Server for privileged access management, covering secret vault configuration, role-based access policies, automated password rotation, session recording, and Active Directory/cloud integration. Use when centralizing privileged credential management,…
  • 98docker-admin
    Use when working with Docker containers, Compose files, Dockerfiles, container networking, volume mounts, cross-platform issues (Windows/Linux/PowerShell quoting), package installation in containers, Centrify/AD user mapping, or container security. Covers build patterns,…
  • 100linux-config-management
    Use when managing repeatable server state with Ansible, etckeeper, check mode, or drift remediation across Debian/Ubuntu and RHEL families. Use linux-server-provisioning for one-time bootstrap and linux-cloud-init for first boot.
  • 100linux-postgresql
    Use when installing, authenticating, tuning, backing up, restoring, or diagnosing PostgreSQL on Debian/Ubuntu or RHEL-family hosts. Covers pg_hba.conf, logical backups, WAL, and PITR; use linux-mysql-mariadb for MySQL/MariaDB.
  • 95azure-active-directory-b2c
    Expert knowledge for Azure Active Directory B2C development including troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations & coding patterns, and deployment. Use when building B2C user…
  • 100linux-commands-guide
    Manage linux commands guide operations. Auto-activating skill for DevOps Basics. Triggers on: linux commands guide, linux commands guide Part of the DevOps Basics skill category. Use when working with linux commands guide functionality. Trigger with phrases like "linux commands…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.