How To Install pam_radius.x86_64 on Amazon Linux 2

In this tutorial we learn how to install pam_radius.x86_64 in Amazon Linux 2. pam_radius.x86_64 is PAM Module for RADIUS Authentication

Introduction

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

What is pam_radius.x86_64

pam_radius is a PAM module which allows user authentication using a radius server.

We can use yum to install pam_radius.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_radius.x86_64.

Install pam_radius.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_radius.x86_64 using yum by running the following command:

sudo yum -y install pam_radius.x86_64

How To Uninstall pam_radius.x86_64 on Amazon Linux 2

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

sudo yum remove pam_radius.x86_64

pam_radius.x86_64 Package Contents on Amazon Linux 2

/etc/pam_radius.conf
/lib64/security/pam_radius_auth.so
/usr/share/doc/pam_radius-1.4.0
/usr/share/doc/pam_radius-1.4.0/Changelog
/usr/share/doc/pam_radius-1.4.0/INSTALL
/usr/share/doc/pam_radius-1.4.0/LICENSE
/usr/share/doc/pam_radius-1.4.0/README.rst
/usr/share/doc/pam_radius-1.4.0/USAGE

References

Summary

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