How to Install and Uninstall pam_ssh_user_auth.x86_64 Package on AlmaLinux 8

Last updated: May 15,2024

1. Install "pam_ssh_user_auth.x86_64" package

Please follow the guidance below to install pam_ssh_user_auth.x86_64 on AlmaLinux 8

$ sudo dnf update $ sudo dnf install pam_ssh_user_auth.x86_64

2. Uninstall "pam_ssh_user_auth.x86_64" package

Please follow the guidance below to uninstall pam_ssh_user_auth.x86_64 on AlmaLinux 8:

$ sudo dnf remove pam_ssh_user_auth.x86_64 $ sudo dnf autoremove

3. Information about the pam_ssh_user_auth.x86_64 package on AlmaLinux 8

Last metadata expiration check: 1:12:20 ago on Mon Sep 5 03:22:42 2022.
Available Packages
Name : pam_ssh_user_auth
Version : 1.0
Release : 4.el8
Architecture : x86_64
Size : 14 k
Source : pam_2fa-1.0-4.el8.src.rpm
Repository : epel
Summary : PAM module to help with SSH_AUTH_INFO_0
URL : https://cern-cert.github.io/pam_2fa/
License : GPLv3+
Description : pam_ssh_user_auth checks the value of SSH_AUTH_INFO_0 and will return success
: if is non-empty and failure if it is. It can be used to skip other PAM
: authentication methods with a configuration like:
:
: auth [success=1 ignore=ignore default=die] pam_ssh_user_auth.so
: auth substack password-auth