Using Ansible to Change Config Files in Linux

In this example, we’ll look at how to edit Linux configuration files with Ansible using sshd_config as an example. Our Ansible playbook should modify the sshd_config file and change/remove directives with insecure authentication algorithms.

Continue reading “Using Ansible to Change Config Files in Linux”

Join Ubuntu/Debian Computer to Active Directory Domain

To make it easier to join Ubuntu or Debian machine to the Windows Active Directory domain, instead of the samba + winbind bundle, you can use the realmd (Realm Discovery) package, which allows you to automatically configure the SSSD (System Security Services Daemon) service on Linux. This article is applicable for Ubuntu 20.04/22.04 and Debian 10/11.

Continue reading “Join Ubuntu/Debian Computer to Active Directory Domain”

Joining CentOS/RHEL/Rocky Linux to Active Directory (AD) Domain

In this article, we will show you how to join servers or workstations running CentOS 8, RHEL, or Rocky Linux to an Active Directory domain using realmd, and how to authenticate to a Linux host using an Active Directory account. The Realmd (Realm Discovery) service makes discovering and adding Linux hosts to an AD domain much easier. Realmd uses SSSD (via Kerberos and LDAP) or Winbind to verify and authenticate Active Directory accounts.

Continue reading “Joining CentOS/RHEL/Rocky Linux to Active Directory (AD) Domain”

Can’t Login Ubuntu GUI (Login Loop)

In this article, we’re going to look at the Ubuntu login issue related to GUI and desktop loading problems, which results in an endless password loop. After entering the correct password, instead of loading the graphical environment, a black screen appears, and then the password prompt appears again (and so on in a loop). As a result, the user cannot log into the Ubuntu GUI. This problem is called Login Loop.

Continue reading “Can’t Login Ubuntu GUI (Login Loop)”

Extending a Linux Disk Partition Online with Fdisk

In this article, we’ll look at how to extend a disk partition in Linux online without shutting down the system or unmounting the partition. You can use the fdisk tool to delete a partition and create a new larger partition in its place on the fly without losing data. In my case, a Linux VM running on VMware ESXi ran out of space on the ext4 data partition.

Continue reading “Extending a Linux Disk Partition Online with Fdisk”

How to Upgrade Ubuntu t0 22.04 LTS (Jammy Jellyfish)?

Ubuntu 22.04 LTS (Jammy Jellyfish) is the latest version of Ubuntu released on April 21, 2022, with five years of support (until April 2027). This release is based on the Linux 5.15 LTS kernel and adds support for new hardware and file systems. In this article, we’ll show you how to upgrade from Ubuntu 20.04 or Ubuntu 21.10 to Ubuntu 22.04 LTS.

Continue reading “How to Upgrade Ubuntu t0 22.04 LTS (Jammy Jellyfish)?”