How To Install pam_krb5.x86_64 on Amazon Linux 2

In this tutorial we learn how to install pam_krb5.x86_64 in Amazon Linux 2. pam_krb5.x86_64 is A Pluggable Authentication Module for Kerberos 5

Introduction

In this tutorial we learn how to install pam_krb5.x86_64 on Amazon Linux 2.

What is pam_krb5.x86_64

This is pam_krb5, a pluggable authentication module that can be used by PAM-aware applications to check passwords and obtain ticket granting tickets using Kerberos 5, and to change user passwords.

We can use yum to install pam_krb5.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install pam_krb5.x86_64.

Install pam_krb5.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install pam_krb5.x86_64 using yum by running the following command:

sudo yum -y install pam_krb5.x86_64

How To Uninstall pam_krb5.x86_64 on Amazon Linux 2

To uninstall only the pam_krb5.x86_64 package we can use the following command:

sudo yum remove pam_krb5.x86_64

pam_krb5.x86_64 Package Contents on Amazon Linux 2

/usr/bin/afs5log
/usr/lib64/security/pam_krb5
/usr/lib64/security/pam_krb5.so
/usr/lib64/security/pam_krb5/pam_krb5_cchelper
/usr/lib64/security/pam_krb5afs.so
/usr/share/doc/pam_krb5-2.4.8
/usr/share/doc/pam_krb5-2.4.8/COPYING
/usr/share/doc/pam_krb5-2.4.8/COPYING.LIB
/usr/share/doc/pam_krb5-2.4.8/ChangeLog
/usr/share/doc/pam_krb5-2.4.8/NEWS
/usr/share/doc/pam_krb5-2.4.8/README
/usr/share/doc/pam_krb5-2.4.8/README.heimdal-pkinit
/usr/share/doc/pam_krb5-2.4.8/README.mit-pkinit
/usr/share/doc/pam_krb5-2.4.8/README.winbind
/usr/share/locale/as/LC_MESSAGES/pam_krb5.mo
/usr/share/locale/bn_IN/LC_MESSAGES/pam_krb5.mo
/usr/share/locale/ca/LC_MESSAGES/pam_krb5.mo
/usr/share/locale/cs/LC_MESSAGES/pam_krb5.mo
/usr/share/locale/da/LC_MESSAGES/pam_krb5.mo
/usr/share/locale/de/LC_MESSAGES/pam_krb5.mo
/usr/share/locale/el/LC_MESSAGES/pam_krb5.mo
/usr/share/locale/es/LC_MESSAGES/pam_krb5.mo
/usr/share/locale/fa/LC_MESSAGES/pam_krb5.mo
/usr/share/locale/fr/LC_MESSAGES/pam_krb5.mo
/usr/share/locale/gu/LC_MESSAGES/pam_krb5.mo
/usr/share/locale/hi/LC_MESSAGES/pam_krb5.mo
/usr/share/locale/hu/LC_MESSAGES/pam_krb5.mo
/usr/share/locale/it/LC_MESSAGES/pam_krb5.mo
/usr/share/locale/ja/LC_MESSAGES/pam_krb5.mo
/usr/share/locale/kn/LC_MESSAGES/pam_krb5.mo
/usr/share/locale/ko/LC_MESSAGES/pam_krb5.mo
/usr/share/locale/ml/LC_MESSAGES/pam_krb5.mo
/usr/share/locale/mr/LC_MESSAGES/pam_krb5.mo
/usr/share/locale/ms/LC_MESSAGES/pam_krb5.mo
/usr/share/locale/nl/LC_MESSAGES/pam_krb5.mo
/usr/share/locale/or/LC_MESSAGES/pam_krb5.mo
/usr/share/locale/pa/LC_MESSAGES/pam_krb5.mo
/usr/share/locale/pl/LC_MESSAGES/pam_krb5.mo
/usr/share/locale/pt_BR/LC_MESSAGES/pam_krb5.mo
/usr/share/locale/ro/LC_MESSAGES/pam_krb5.mo
/usr/share/locale/ru/LC_MESSAGES/pam_krb5.mo
/usr/share/locale/sr/LC_MESSAGES/pam_krb5.mo
/usr/share/locale/sr@latin/LC_MESSAGES/pam_krb5.mo
/usr/share/locale/sv/LC_MESSAGES/pam_krb5.mo
/usr/share/locale/ta/LC_MESSAGES/pam_krb5.mo
/usr/share/locale/te/LC_MESSAGES/pam_krb5.mo
/usr/share/locale/uk/LC_MESSAGES/pam_krb5.mo
/usr/share/locale/zh_CN/LC_MESSAGES/pam_krb5.mo
/usr/share/locale/zh_TW/LC_MESSAGES/pam_krb5.mo
/usr/share/man/man1/afs5log.1.gz
/usr/share/man/man5/pam_krb5.5.gz
/usr/share/man/man8/pam_krb5.8.gz
/usr/share/man/man8/pam_krb5_cchelper.8.gz

References

Summary

In this tutorial we learn how to install pam_krb5.x86_64 on Amazon Linux 2 using yum.