How To Install pam on Fedora 36

In this tutorial we learn how to install pam in Fedora 36. pam is An extensible library which provides authentication for applications

Introduction

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

What is pam

PAM (Pluggable Authentication Modules) is a system security tool that allows system administrators to set authentication policy without having to recompile programs that handle authentication.

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

Install 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 pam using dnf by running the following command:

sudo dnf -y install pam

Install 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 pam using yum by running the following command:

sudo yum -y install pam

How To Uninstall pam on Fedora 36

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

sudo dnf remove pam

pam Package Contents on Fedora 36

/etc/pam.d
/etc/pam.d/config-util
/etc/pam.d/other
/etc/security
/etc/security/access.conf
/etc/security/chroot.conf
/etc/security/console.apps
/etc/security/console.handlers
/etc/security/console.perms
/etc/security/console.perms.d
/etc/security/faillock.conf
/etc/security/group.conf
/etc/security/limits.conf
/etc/security/limits.d
/etc/security/namespace.conf
/etc/security/namespace.d
/etc/security/namespace.init
/etc/security/opasswd
/etc/security/pam_env.conf
/etc/security/sepermit.conf
/etc/security/time.conf
/usr/lib/.build-id
/usr/lib/.build-id/01
/usr/lib/.build-id/01/c9f9d2df4ce04cc153abc6a561cefdde4283c1
/usr/lib/.build-id/0a
/usr/lib/.build-id/0a/2b99fee3d18e03864a2146c35b1261bb22b037
/usr/lib/.build-id/11
/usr/lib/.build-id/11/cd646dedec94c623cd536e3c09af16a65a3eaf
/usr/lib/.build-id/15
/usr/lib/.build-id/15/316af2bbdb5c8d9829fd25de3c4724193ee4f6
/usr/lib/.build-id/22
/usr/lib/.build-id/22/76a32c9ce9ef84257ba53296c2ec6ce457d21a
/usr/lib/.build-id/25
/usr/lib/.build-id/25/30f194f32af4d0ac74f7815152feaa1a5286ea
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/01e0e815aaf3b058913bb4ea01ef43d60a8e2d
/usr/lib/.build-id/3f
/usr/lib/.build-id/3f/b56e0e83219e5ffc613b146374b650d2d3096b
/usr/lib/.build-id/41
/usr/lib/.build-id/41/f2fda444ff091f5b377a916bdcd6ac647e0be1
/usr/lib/.build-id/44
/usr/lib/.build-id/44/c4d2b0eb1f389902eaa4e1a02318a87e2405c8
/usr/lib/.build-id/47
/usr/lib/.build-id/47/ba496b142ed4fd8f1a37c8c8cdad6c4228feb0
/usr/lib/.build-id/48
/usr/lib/.build-id/48/3b2a6001ecf4335721e6a9d4accb0ce4487139
/usr/lib/.build-id/49
/usr/lib/.build-id/49/3a7e227c7561e8a7330015ea3ddc30f3cda529
/usr/lib/.build-id/4f
/usr/lib/.build-id/4f/550c416a4cb66c50fec2ebf0a52bcc42d23a82
/usr/lib/.build-id/53
/usr/lib/.build-id/53/0e74a8bd4db20adaeb8ac46352180c1edfb23f
/usr/lib/.build-id/67
/usr/lib/.build-id/67/61a0811521931d29dea468730491c101f3a3fd
/usr/lib/.build-id/6a
/usr/lib/.build-id/6a/383a70ebb7f66493bf2d9ace38bdb620e42a06
/usr/lib/.build-id/6b
/usr/lib/.build-id/6b/437695a7e5d157b109eec38016919409a36229
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/2c045d36a0d91f1e3e72d0936ccecaa001b2fd
/usr/lib/.build-id/71
/usr/lib/.build-id/71/cc81db303d52ad67fc9355aa5385ad9d965bd1
/usr/lib/.build-id/7a
/usr/lib/.build-id/7a/149c09984db0a0eb681e48270c2fecaacaec21
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/4a09d528a417f5611532cf5e06d7eec15f6800
/usr/lib/.build-id/80
/usr/lib/.build-id/80/0580646df32580e38c46a881b1354f4d1102c6
/usr/lib/.build-id/81
/usr/lib/.build-id/81/404343e5b7e380bec1813972e238434feee389
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/371a1461c82122f52a7be6da9afd1076e5e620
/usr/lib/.build-id/99
/usr/lib/.build-id/99/774a99f3e4f5e01b287b90fa3cf4ab2585f2e8
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/5ab34574b3373f453d677ba008106f9a5229f6
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/06dd3657c93b70789579c6aad7be64e0baef32
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/26ecf45bd2a0e14bf46109b368b44e602ed2e5
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/0608c28ffaaf23016666a74ad34fa0e0a013d9
/usr/lib/.build-id/a5/8e37bc0c5988c8d8193ead89832def0ba497e8
/usr/lib/.build-id/a6
/usr/lib/.build-id/a6/8f4d837f1cf8e34079421dc17ec4217143b6e1
/usr/lib/.build-id/a9
/usr/lib/.build-id/a9/386bc5938cbcff5e4facbadeea9b63d8eb0833
/usr/lib/.build-id/ab
/usr/lib/.build-id/ab/6d1dc4fb66bfd401a20cf66eac9ceab1f60fdb
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/cb740b7b772d26469753aa9ee06ac15b8d9915
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/ce175264ee196c0d9463ea9003388295a30851
/usr/lib/.build-id/ae
/usr/lib/.build-id/ae/fb5ea9799829582d765fc7c0438689faed5fab
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/92f413e83d0f6b7f62fc52c0a8ae354c5cc7ec
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/37bea6b37569f222b8ae39e49a2b064a6254ae
/usr/lib/.build-id/bb/b60af398579852d4daf7a6adb8ad5416078ddc
/usr/lib/.build-id/c4
/usr/lib/.build-id/c4/d605f45e139999bc40d0dfdc56fa9c6a3ff427
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/5e35423bcad0dacb89784ad55bb796c8796bf9
/usr/lib/.build-id/c8/ad1d50c57611413a7b45cb3f6aa77fdfdfb7de
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/146cd0f9b0e7770be1f0581b2de9c05e3cd0f3
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/03d5ece83fa03126d11395e4546acbd67655ff
/usr/lib/.build-id/ca/070bcb2d243bc9c1eb393ae3366563551c4e8b
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/42c4275ce04d3a93bc0fe51bdd721d614f59dd
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/5d615597a0a62a8ee840b832aed786dd22edc5
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/19b175fb27a2b1ebc4306aefde38f6a7a5eccf
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/85ca34123ea156e55429a08b228582796d0e12
/usr/lib/.build-id/f0
/usr/lib/.build-id/f0/a4ce911b756c77fc537e5aef5c3e1ffeb9bc38
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/c2d075ae51aea04974a138ddd658e814c0bf86
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/6a23540bb6553124d461df781b325b5ebeadcc
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/1c6f1fb53e9ac66ff7e591f08a07c956e3675a
/usr/lib/.build-id/fb
/usr/lib/.build-id/fb/fd24a87adfbee95e8c611082d165ab336b84b6
/usr/lib/rpm/macros.d/macros.pam
/usr/lib/systemd/system/pam_namespace.service
/usr/lib/tmpfiles.d/pam.conf
/usr/lib64/security
/usr/lib64/security/pam_access.so
/usr/lib64/security/pam_chroot.so
/usr/lib64/security/pam_console.so
/usr/lib64/security/pam_debug.so
/usr/lib64/security/pam_deny.so
/usr/lib64/security/pam_echo.so
/usr/lib64/security/pam_env.so
/usr/lib64/security/pam_exec.so
/usr/lib64/security/pam_faildelay.so
/usr/lib64/security/pam_faillock.so
/usr/lib64/security/pam_filter
/usr/lib64/security/pam_filter.so
/usr/lib64/security/pam_filter/upperLOWER
/usr/lib64/security/pam_ftp.so
/usr/lib64/security/pam_group.so
/usr/lib64/security/pam_issue.so
/usr/lib64/security/pam_keyinit.so
/usr/lib64/security/pam_lastlog.so
/usr/lib64/security/pam_limits.so
/usr/lib64/security/pam_listfile.so
/usr/lib64/security/pam_localuser.so
/usr/lib64/security/pam_loginuid.so
/usr/lib64/security/pam_mail.so
/usr/lib64/security/pam_mkhomedir.so
/usr/lib64/security/pam_motd.so
/usr/lib64/security/pam_namespace.so
/usr/lib64/security/pam_nologin.so
/usr/lib64/security/pam_permit.so
/usr/lib64/security/pam_postgresok.so
/usr/lib64/security/pam_pwhistory.so
/usr/lib64/security/pam_rhosts.so
/usr/lib64/security/pam_rootok.so
/usr/lib64/security/pam_securetty.so
/usr/lib64/security/pam_selinux.so
/usr/lib64/security/pam_selinux_permit.so
/usr/lib64/security/pam_sepermit.so
/usr/lib64/security/pam_setquota.so
/usr/lib64/security/pam_shells.so
/usr/lib64/security/pam_stress.so
/usr/lib64/security/pam_succeed_if.so
/usr/lib64/security/pam_time.so
/usr/lib64/security/pam_timestamp.so
/usr/lib64/security/pam_tty_audit.so
/usr/lib64/security/pam_umask.so
/usr/lib64/security/pam_unix.so
/usr/lib64/security/pam_unix_acct.so
/usr/lib64/security/pam_unix_auth.so
/usr/lib64/security/pam_unix_passwd.so
/usr/lib64/security/pam_unix_session.so
/usr/lib64/security/pam_userdb.so
/usr/lib64/security/pam_usertype.so
/usr/lib64/security/pam_warn.so
/usr/lib64/security/pam_wheel.so
/usr/lib64/security/pam_xauth.so
/usr/sbin/faillock
/usr/sbin/mkhomedir_helper
/usr/sbin/pam_console_apply
/usr/sbin/pam_namespace_helper
/usr/sbin/pam_timestamp_check
/usr/sbin/pwhistory_helper
/usr/sbin/unix_chkpwd
/usr/sbin/unix_update
/usr/share/licenses/pam
/usr/share/licenses/pam/Copyright
/usr/share/licenses/pam/gpl-2.0.txt
/usr/share/locale/af/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/am/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/ar/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/as/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/az/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/be/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/bg/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/bn/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/bn_IN/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/bs/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/ca/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/cs/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/cy/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/da/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/de/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/de_CH/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/el/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/eo/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/es/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/et/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/eu/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/fa/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/fi/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/fr/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/ga/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/gl/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/gu/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/he/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/hi/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/hr/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/hu/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/ia/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/id/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/is/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/it/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/ja/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/ka/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/kk/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/km/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/kn/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/ko/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/kw_GB/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/ky/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/lt/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/lv/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/mk/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/ml/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/mn/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/mr/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/ms/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/my/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/nb/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/ne/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/nl/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/nn/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/or/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/pa/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/pl/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/pt/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/pt_BR/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/ro/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/ru/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/si/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/sk/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/sl/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/sq/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/sr/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/sr@latin/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/sv/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/ta/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/te/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/tg/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/th/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/tr/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/uk/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/ur/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/vi/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/yo/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/zh_CN/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/zh_HK/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/zh_TW/LC_MESSAGES/Linux-PAM.mo
/usr/share/locale/zu/LC_MESSAGES/Linux-PAM.mo
/usr/share/man/man5/access.conf.5.gz
/usr/share/man/man5/config-util.5.gz
/usr/share/man/man5/console.apps.5.gz
/usr/share/man/man5/console.handlers.5.gz
/usr/share/man/man5/console.perms.5.gz
/usr/share/man/man5/environment.5.gz
/usr/share/man/man5/faillock.conf.5.gz
/usr/share/man/man5/fingerprint-auth.5.gz
/usr/share/man/man5/group.conf.5.gz
/usr/share/man/man5/limits.conf.5.gz
/usr/share/man/man5/namespace.conf.5.gz
/usr/share/man/man5/pam.conf.5.gz
/usr/share/man/man5/pam.d.5.gz
/usr/share/man/man5/pam_env.conf.5.gz
/usr/share/man/man5/password-auth.5.gz
/usr/share/man/man5/postlogin.5.gz
/usr/share/man/man5/sepermit.conf.5.gz
/usr/share/man/man5/smartcard-auth.5.gz
/usr/share/man/man5/system-auth.5.gz
/usr/share/man/man5/time.conf.5.gz
/usr/share/man/man8/PAM.8.gz
/usr/share/man/man8/faillock.8.gz
/usr/share/man/man8/mkhomedir_helper.8.gz
/usr/share/man/man8/pam.8.gz
/usr/share/man/man8/pam_access.8.gz
/usr/share/man/man8/pam_console.8.gz
/usr/share/man/man8/pam_console_apply.8.gz
/usr/share/man/man8/pam_debug.8.gz
/usr/share/man/man8/pam_deny.8.gz
/usr/share/man/man8/pam_echo.8.gz
/usr/share/man/man8/pam_env.8.gz
/usr/share/man/man8/pam_exec.8.gz
/usr/share/man/man8/pam_faildelay.8.gz
/usr/share/man/man8/pam_faillock.8.gz
/usr/share/man/man8/pam_filter.8.gz
/usr/share/man/man8/pam_ftp.8.gz
/usr/share/man/man8/pam_group.8.gz
/usr/share/man/man8/pam_issue.8.gz
/usr/share/man/man8/pam_keyinit.8.gz
/usr/share/man/man8/pam_lastlog.8.gz
/usr/share/man/man8/pam_limits.8.gz
/usr/share/man/man8/pam_listfile.8.gz
/usr/share/man/man8/pam_localuser.8.gz
/usr/share/man/man8/pam_loginuid.8.gz
/usr/share/man/man8/pam_mail.8.gz
/usr/share/man/man8/pam_mkhomedir.8.gz
/usr/share/man/man8/pam_motd.8.gz
/usr/share/man/man8/pam_namespace.8.gz
/usr/share/man/man8/pam_namespace_helper.8.gz
/usr/share/man/man8/pam_nologin.8.gz
/usr/share/man/man8/pam_permit.8.gz
/usr/share/man/man8/pam_postgresok.8.gz
/usr/share/man/man8/pam_pwhistory.8.gz
/usr/share/man/man8/pam_rhosts.8.gz
/usr/share/man/man8/pam_rootok.8.gz
/usr/share/man/man8/pam_securetty.8.gz
/usr/share/man/man8/pam_selinux.8.gz
/usr/share/man/man8/pam_sepermit.8.gz
/usr/share/man/man8/pam_setquota.8.gz
/usr/share/man/man8/pam_shells.8.gz
/usr/share/man/man8/pam_stress.8.gz
/usr/share/man/man8/pam_succeed_if.8.gz
/usr/share/man/man8/pam_time.8.gz
/usr/share/man/man8/pam_timestamp.8.gz
/usr/share/man/man8/pam_timestamp_check.8.gz
/usr/share/man/man8/pam_tty_audit.8.gz
/usr/share/man/man8/pam_umask.8.gz
/usr/share/man/man8/pam_unix.8.gz
/usr/share/man/man8/pam_userdb.8.gz
/usr/share/man/man8/pam_usertype.8.gz
/usr/share/man/man8/pam_warn.8.gz
/usr/share/man/man8/pam_wheel.8.gz
/usr/share/man/man8/pam_xauth.8.gz
/usr/share/man/man8/pwhistory_helper.8.gz
/usr/share/man/man8/unix_chkpwd.8.gz
/usr/share/man/man8/unix_update.8.gz
/usr/share/pam.d
/var/run/console
/var/run/faillock
/var/run/sepermit

References

Summary

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