How To Install pam_wrapper on Fedora 34

pam_wrapper is A tool to test PAM applications and PAM modules A tool to test PAM applications and PAM modules

Introduction

In this tutorial we learn how to install pam_wrapper on Fedora 34.

What is pam_wrapper

This component of cwrap allows you to either test your PAM (Linux-PAM and OpenPAM) application or module. For testing PAM applications, simple PAM module called pam_matrix is included. If you plan to test a PAM module you can use the pamtest library, which simplifies testing of modules. You can combine it with the cmocka unit testing framework or you can use the provided Python bindings to write tests for your module in Python. pam_wrapper 1.1.3 6.fc34 x86_64 42 k pam_wrapper-1.1.3-6.fc34.src.rpm fedora A tool to test PAM applications and PAM modules http GPLv3+ This component of cwrap allows you to either test your PAM (Linux-PAM and OpenPAM) application or module. For testing PAM applications, simple PAM module called pam_matrix is included. If you plan to test a PAM module you can use the pamtest library, which simplifies testing of modules. You can combine it with the cmocka unit testing framework or you can use the provided Python bindings to write tests for your module in Python.

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

Install pam_wrapper on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install pam_wrapper

Install pam_wrapper on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install pam_wrapper using yum by running the following command:

sudo yum -y install pam_wrapper

How To Uninstall pam_wrapper on Fedora 34

To uninstall only the pam_wrapper package we can use the following command:

sudo dnf remove pam_wrapper

pam_wrapper Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/3d
/usr/lib/.build-id/3d/c311761ed15b0af32fbeee81d3ad1cff5e4092
/usr/lib/.build-id/52
/usr/lib/.build-id/52/da0bd170a36ce7352c9205485916fa753081f9
/usr/lib/.build-id/57
/usr/lib/.build-id/57/a79bfe571acb541571219c7125a579833ad243
/usr/lib/.build-id/75
/usr/lib/.build-id/75/e6bcf451eec3ed0acf1347e72edb5c60c4673b
/usr/lib/.build-id/f5
/usr/lib/.build-id/f5/105f93ed22a59769633365ad74f896ded8af2b
/usr/lib/cmake/pam_wrapper
/usr/lib/cmake/pam_wrapper/pam_wrapper-config-version.cmake
/usr/lib/cmake/pam_wrapper/pam_wrapper-config.cmake
/usr/lib/libpam_wrapper.so
/usr/lib/libpam_wrapper.so.0
/usr/lib/libpam_wrapper.so.0.0.6
/usr/lib/pam_wrapper/pam_chatty.so
/usr/lib/pam_wrapper/pam_get_items.so
/usr/lib/pam_wrapper/pam_matrix.so
/usr/lib/pam_wrapper/pam_set_items.so
/usr/lib/pkgconfig/pam_wrapper.pc
/usr/share/man/man1/pam_wrapper.1.gz
/usr/share/man/man8/pam_chatty.8.gz
/usr/share/man/man8/pam_get_items.8.gz
/usr/share/man/man8/pam_matrix.8.gz
/usr/share/man/man8/pam_set_items.8.gz
/usr/lib/.build-id
/usr/lib/.build-id/41
/usr/lib/.build-id/41/0bbdff944b40eb43143140b2dacc8a58d7eff5
/usr/lib/.build-id/4c
/usr/lib/.build-id/4c/b3f37e1168c1b37ccf2966a84c78159d807b79
/usr/lib/.build-id/55
/usr/lib/.build-id/55/25b18359c7a061fdbdb0c19f1d3b71bda3786e
/usr/lib/.build-id/8a
/usr/lib/.build-id/8a/06890f02d2bc1db9a3aebef1a42ff2bb5bc5c4
/usr/lib/.build-id/a9
/usr/lib/.build-id/a9/7bc36ece9af75d2ae210e58da540d159c10ba5
/usr/lib64/cmake/pam_wrapper
/usr/lib64/cmake/pam_wrapper/pam_wrapper-config-version.cmake
/usr/lib64/cmake/pam_wrapper/pam_wrapper-config.cmake
/usr/lib64/libpam_wrapper.so
/usr/lib64/libpam_wrapper.so.0
/usr/lib64/libpam_wrapper.so.0.0.6
/usr/lib64/pam_wrapper/pam_chatty.so
/usr/lib64/pam_wrapper/pam_get_items.so
/usr/lib64/pam_wrapper/pam_matrix.so
/usr/lib64/pam_wrapper/pam_set_items.so
/usr/lib64/pkgconfig/pam_wrapper.pc
/usr/share/man/man1/pam_wrapper.1.gz
/usr/share/man/man8/pam_chatty.8.gz
/usr/share/man/man8/pam_get_items.8.gz
/usr/share/man/man8/pam_matrix.8.gz
/usr/share/man/man8/pam_set_items.8.gz

References

Summary

In this tutorial we learn how to install pam_wrapper on Fedora 34 using yum and dnf.