How To Install pam_wrapper on Fedora 36

In this tutorial we learn how to install pam_wrapper in Fedora 36. pam_wrapper is A tool to test PAM applications and PAM modules

Introduction

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

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.

We can use yum or dnf to install pam_wrapper on Fedora 36. 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 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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 36

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

sudo dnf remove pam_wrapper

pam_wrapper Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/42
/usr/lib/.build-id/42/be62e9a0ce08a6b2ca30099e13a8cbe89f67cc
/usr/lib/.build-id/9e
/usr/lib/.build-id/9e/c027918f42984ce7b1e3017e754e3d73682d9f
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/486f5fd5c27e56cd542cd1b29f0096f519b032
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/045f6a54383722cc1a608b88a5a9ade5089703
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/c8b03dff51198b955677a5f0bc964151e74e33
/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.7
/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

References

Summary

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


title: “How To Install pam_wrapper on Fedora 36” linkTitle: “pam_wrapper” type: “docs” description: “In this tutorial we learn how to install pam_wrapper in Fedora 36. pam_wrapper is A tool to test PAM applications and PAM modules” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/pam_wrapper-featured.png

Introduction

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

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.

We can use yum or dnf to install pam_wrapper on Fedora 36. 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 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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 36

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

sudo dnf remove pam_wrapper

pam_wrapper Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/11
/usr/lib/.build-id/11/53a888416782d2f5dbea74639e4972fbb92dde
/usr/lib/.build-id/4c
/usr/lib/.build-id/4c/6d9bbab089c6bf5acc922f6317da8af3e20013
/usr/lib/.build-id/85
/usr/lib/.build-id/85/a117d9c3d81e269dd8f1a875ea677546364767
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/e84bdbaaef43268787aff8d3dd7953ccc3efbb
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/2d780f27adf29161f6175e6fbca975d1806d8b
/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.7
/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 36 using yum and [dnf]((/fedora/36/dnf/).