Install pam-runtime Package

このページは日本語には対応しておりません。随時翻訳に取り組んでいます。
翻訳に関してご質問やご意見ございましたら、お気軽にご連絡ください

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