---
title: "Discussion on \"Harden PAM on Linux: pwquality, faillock and MFA (with Ansible + Molecule)\" | Hashnode"
description: "Discussion on \"Harden PAM on Linux: pwquality, faillock and MFA (with Ansible + Molecule)\". From manual config to idempotent IaC — covering RHEL/Rocky/Alma and Debian/Ubuntu"
url: "https://hashnode.com/posts/harden-pam-on-linux-pwquality-faillock-and-mfa-with-ansible-molecule/69a94d8048d1b2300981d1e2"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Harden PAM on Linux: pwquality, faillock and MFA (with Ansible + Molecule)](https://blog.homelabforge.dev/harden-pam-on-linux-pwquality-faillock-and-mfa-with-ansible-molecule?utm_source=hashnode&utm_medium=feed)

From manual config to idempotent IaC — covering RHEL/Rocky/Alma and Debian/Ubuntu

Mar 5 · 6 min read · blog.homelabforge.dev  
Read the article

-   [#linux](https://hashnode.com/tag/linux)
-   [#security](https://hashnode.com/tag/security)
-   [#ansible](https://hashnode.com/tag/ansible)
-   [#rhel](https://hashnode.com/tag/rhel)
-   [#debian](https://hashnode.com/tag/debian)
-   [#ubuntu](https://hashnode.com/tag/ubuntu)
-   [#pam](https://hashnode.com/tag/pam)
-   [#devsecops](https://hashnode.com/tag/devsecops)

## Written by

[Miguel Alpañez Alcalde](https://hashnode.com/@malpanez)

@malpanez · Dublin, Ireland

  
[View profile](https://hashnode.com/@malpanez)

DevOps, Linux SysAdmin

Platform/DevOps engineer in Dublin bringing production-grade DevOps to homelabs and small teams. I write reproducible guides with Terraform, Ansible, Proxmox, CI/CD and security hardening—always with code, diagrams, and benchmarks. Currently publishing at HomelabForge and open to impactful platform work.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
