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 libpam-runtime package can be installed with the following command:


$ apt-get install libpam-runtime

Rationale

libpam-runtime contains configuration that is needed by other rules when configuring PAM options.

Remediation

Shell script

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

#!/bin/bash

DEBIAN_FRONTEND=noninteractive apt-get install -y "libpam-runtime"

Ansible playbook

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

- name: Ensure libpam-runtime is installed
  package:
    name: libpam-runtime
    state: present
  tags:
  - enable_strategy
  - low_complexity
  - low_disruption
  - medium_severity
  - no_reboot_needed
  - package_pam_runtime_installed