How To Install malcontent-pam on Fedora 36

In this tutorial we learn how to install malcontent-pam in Fedora 36. malcontent-pam is Parental Controls PAM Module

Introduction

In this tutorial we learn how to install malcontent-pam on Fedora 36.

What is malcontent-pam

This package contains a PAM module which prevents logins for users who have exceeded their allowed computer time.

We can use yum or dnf to install malcontent-pam on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install malcontent-pam.

Install malcontent-pam on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install malcontent-pam using dnf by running the following command:

sudo dnf -y install malcontent-pam

Install malcontent-pam on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install malcontent-pam using yum by running the following command:

sudo yum -y install malcontent-pam

How To Uninstall malcontent-pam on Fedora 36

To uninstall only the malcontent-pam package we can use the following command:

sudo dnf remove malcontent-pam

malcontent-pam Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/930a090a0d373e69c8156652233bf95eb44ff0
/usr/lib64/security/pam_malcontent.so
/usr/share/licenses/malcontent-pam
/usr/share/licenses/malcontent-pam/COPYING

References

Summary

In this tutorial we learn how to install malcontent-pam on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).