Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.

Description

The pam package can be installed with the following command:

$ sudo yum install pam

Rationale

The pam package provides Pluggable Authentication Modules (PAM) which is a system for authenticating users. PAM provides a flexible and centralized way to manage authentication methods for applications and services. Ensuring the latest version of pam is installed helps maintain system security by providing the latest security fixes and features.

Remediation

Shell script

The following script can be run on the host to remediate the issue.

#!/bin/bash

if ! rpm -q --quiet "pam" ; then
    yum install -y "pam"
fi

Ansible playbook

The following playbook can be run with Ansible to remediate the issue.

- name: Ensure pam is installed
  ansible.builtin.package:
    name: pam
    state: present
  tags:
  - CCE-89184-6
  - enable_strategy
  - low_complexity
  - low_disruption
  - medium_severity
  - no_reboot_needed
  - package_pam_installed