How To Install pam-cryptsetup on Fedora 36
Introduction
In this tutorial we learn how to install pam-cryptsetup
on Fedora 36.
What is pam-cryptsetup
pam-cryptsetup provides a PAM module that allows LUKS-based disk encryption passwords to be kept in sync with account passwords automatically based on factors like if the user has decrypted the disk successfully previously. The project as a whole consists of two parts triggering on user authentication, and a helper program pam_cryptsetup_helper to perform the actual encryption checks and modifications required.
We can use yum
or dnf
to install pam-cryptsetup
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install pam-cryptsetup.
Install pam-cryptsetup 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 pam-cryptsetup
using dnf
by running the following command:
sudo dnf -y install pam-cryptsetup
Install pam-cryptsetup 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 pam-cryptsetup
using yum
by running the following command:
sudo yum -y install pam-cryptsetup
How To Uninstall pam-cryptsetup on Fedora 36
To uninstall only the pam-cryptsetup
package we can use the following command:
sudo dnf remove pam-cryptsetup
pam-cryptsetup Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/7b93378e3cc0307c04e643b3b0b371bb1b75c3
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/aaea267f7afaf42de8003c302bceb4129491c4
/usr/lib64/security/pam_cryptsetup.so
/usr/libexec/pam-cryptsetup
/usr/libexec/pam-cryptsetup/pam_cryptsetup_helper
/usr/share/doc/pam-cryptsetup
/usr/share/doc/pam-cryptsetup/CONTRIBUTING.md
/usr/share/doc/pam-cryptsetup/README.md
/usr/share/licenses/pam-cryptsetup
/usr/share/licenses/pam-cryptsetup/LICENSE
References
Summary
In this tutorial we learn how to install pam-cryptsetup
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).