system-administration

Fix Linux VM Wrong Time After Reboot

When a Linux VM shows the wrong time after every reboot, trace the clock from the virtual RTC through chrony, identify the selected NTP source, and fix stale RTC values, unsuitable chrony sources, or hypervisor time-sync …

Deepak Prasad13 min read
system-administration

Configure OpenLDAP Indexes with olcDbIndex

Configure OpenLDAP MDB indexes with olcDbIndex, map LDAP filters to index types, build indexes online, rebuild them with slapindex, and measure search performance.

Deepak Prasad19 min read
system-administration

Migrate Local Linux Users and Groups to OpenLDAP

Migrate local users and groups to OpenLDAP on RHEL, Rocky Linux, AlmaLinux, Oracle Linux, and CentOS Stream while preserving UID, GID, passwords, groups, and file ownership.

Deepak Prasad29 min read
security

Configure OpenLDAP sudo Rules with SSSD on RHEL Family

Configure OpenLDAP sudoRole policies with SSSD on RHEL, Rocky Linux, AlmaLinux, Oracle Linux, and CentOS Stream clients.

Deepak Prasad19 min read
security

Fix OpenLDAP Invalid Credentials Error 49

Fix OpenLDAP Error 49 for wrong bind DNs, passwords, userPassword ACLs, locked accounts, expired passwords, SSSD cache, PAM, and SSH authentication.

Deepak Prasad18 min read
system-administration

Configure OpenLDAP memberOf and Referential Integrity Overlays

Configure OpenLDAP memberOf and refint overlays for groupOfNames membership, reverse membership lookup, and automatic reference cleanup.

Deepak Prasad15 min read
security

Fix OpenLDAP Insufficient Access Error 50

Fix OpenLDAP Error 50 for ldapadd, ldapmodify, ldapdelete, password changes, cn=config, and no-write-access-to-parent ACL failures.

Deepak Prasad26 min read
security

Configure OpenLDAP Password Policy with ppolicy

Configure OpenLDAP ppolicy for password expiration, warnings, history, account lockout, grace logins, forced resets, and SSSD client behavior.

Deepak Prasad26 min read
system-administration

OpenLDAP Backup and Restore with slapcat and slapadd

Back up and restore OpenLDAP cn=config and all MDB databases using slapcat, slapadd, systemd timers, retention, checksums, and tested recovery.

Deepak Prasad33 min read
security

OpenLDAP ACL Configuration with Practical Examples

Configure OpenLDAP olcAccess ACLs for passwords, users, groups, SSSD, entry and children permissions, with safe testing and rollback.

Deepak Prasad29 min read
system-administration

OpenLDAP cn=config and MDB Explained with ldapmodify Examples

Understand OpenLDAP cn=config and MDB, discover numbered database DNs, query modules and overlays, and safely modify settings with ldapmodify.

Deepak Prasad25 min read
system-administration

Manage OpenLDAP Users and Groups with LDIF

Add, search, modify, rename, reset passwords, manage group membership, and delete OpenLDAP POSIX users and groups using LDIF.

Deepak Prasad23 min read
system-administration

Configure OpenLDAP Client with SSSD on RHEL-Based Linux

Configure OpenLDAP client authentication with SSSD, authselect, StartTLS, and automatic home directories on RHEL, Rocky Linux, AlmaLinux, Oracle Linux, and CentOS Stream.

Deepak Prasad16 min read
system-administration

Migrate OpenLDAP to a New Server on RHEL Family

Migrate OpenLDAP configuration, schemas, directory data, TLS files, and client endpoints to a new RHEL, Rocky Linux, AlmaLinux, Oracle Linux, or CentOS Stream server.

Deepak Prasad20 min read
system-administration

Configure OpenLDAP Multi-Provider Replication on RHEL-Based Linux (Multi-Master)

Configure OpenLDAP multi-provider or multi-master replication with server IDs, accesslog, delta-syncrepl, StartTLS, MirrorMode, and conflict testing on RHEL-family Linux.

Deepak Prasad22 min read
system-administration

Configure OpenLDAP Provider-Consumer Replication on RHEL-Based Linux (Master-Slave)

Configure one-way OpenLDAP provider-consumer replication with Syncrepl and StartTLS on RHEL-based Linux, including Rocky and AlmaLinux.

Deepak Prasad16 min read
security

Configure OpenLDAP TLS on RHEL-Based Linux

Configure OpenLDAP TLS on RHEL, Rocky Linux, AlmaLinux, Oracle Linux, and CentOS Stream using a private CA, StartTLS, LDAPS, and cn=config.

Deepak Prasad21 min read
system-administration

Install and Configure OpenLDAP on RHEL-Based Linux

Install OpenLDAP 2.6 on RHEL-based Linux, configure MDB with cn=config, create the base DIT, and verify local and remote LDAP searches.

Deepak Prasad17 min read
system-administration

Configure Apache LDAP Authentication with OpenLDAP

Configure Apache HTTP Server to authenticate and authorize users with OpenLDAP using mod_authnz_ldap, group restrictions, TLS, and practical troubleshooting.

Deepak Prasad15 min read
linux

Install & Configure FreeIPA Server in RHEL/CentOS 8

steps to install and configure freeipa server in rhel 8 the packages necessary for installing an Identity Management server are shipped with IDM server module

Deepak Prasad16 min read
system-administration

Fix Bash History Not Saving All Commands in Linux

Fix missing Bash history commands in Linux, including commands lost across multiple terminals, delayed .bash_history writes, HISTCONTROL exclusions, and permission problems.

Deepak Prasad19 min read
linux

How to Create a Man Page in Linux with Groff

Create a Linux man page with a reusable groff template. Learn man sections, macros, local preview, system and user installation, mandb, whatis, and troubleshooting.

Deepak Prasad16 min read
system-administration

Configure LDAP Users with NFS Home Directories and autofs

Configure OpenLDAP users with NFS home directories using SSSD and autofs on RHEL, Rocky Linux, AlmaLinux, Oracle Linux, and CentOS Stream.

Deepak Prasad16 min read
system-administration

Configure Transparent HugePages on RHEL 8–10: always, madvise or never

Check, disable or set Transparent HugePages to madvise on RHEL 8–10, Rocky Linux, AlmaLinux, CentOS Stream and Oracle Linux.

Deepak Prasad10 min read
system-administration

Download and Sync an Entire DNF Repository for Offline Use

Download and sync complete RPM repositories on RHEL 8/9/10, Rocky Linux, AlmaLinux, CentOS Stream, and Oracle Linux using dnf reposync, repository metadata, GPG verification, and offline clients.

Deepak Prasad11 min read
linux

Create Anaconda updates.img and Use inst.updates on RHEL 8–10

Create Anaconda updates.img on RHEL 8–10, embed it in boot media with mkksiso, load it with inst.updates, and verify the installer overlay.

Deepak Prasad11 min read
system-administration

Configure Postfix SMTP Relay on RHEL 9/10

Configure Postfix as a null client or internal SMTP relay on RHEL 9 and 10, Rocky Linux, AlmaLinux, CentOS Stream, and Oracle Linux using relayhost, SASL authentication, STARTTLS, SWAKS, and queue troubleshooting.

Deepak Prasad15 min read
linux

Install and Configure TigerVNC Server on RHEL 8/9

Install and configure TigerVNC Server on RHEL 8 and 9, Rocky Linux, AlmaLinux, and CentOS Stream using user mappings, systemd, GNOME, firewalld, and secure VNC connections.

Deepak Prasad15 min read
linux

SSH Port Forwarding on RHEL, Rocky Linux, AlmaLinux, CentOS Stream and Oracle Linux

Configure local, remote and dynamic SSH port forwarding on RHEL 8–10, Rocky Linux, AlmaLinux, CentOS Stream and Oracle Linux.

Deepak Prasad12 min read
system-administration

Run systemd Service as a Specific User and Group in Linux

Create a system-level systemd service that starts at boot and runs as a dedicated non-root user and group on Ubuntu, Debian, Fedora, RHEL, Rocky Linux, AlmaLinux, CentOS Stream and Oracle Linux.

Deepak Prasad16 min read