Skip to content

Install libcap-ng-utils Package

An XCCDF Rule

Description

The libcap-ng-utils package can be installed with the following command:

$ sudo yum install libcap-ng-utils

Rationale

libcap-ng-utils contains applications to analyze the posix posix capabilities of all the programs running on a system. libcap-ng-utils also lets system operators set the file system based capabilities.

ID
xccdf_org.ssgproject.content_rule_package_libcap-ng-utils_installed
Severity
Medium
References
Updated



Remediation - Anaconda Pre-Install Instructions


package --add=libcap-ng-utils

Remediation - OS Build Blueprint


[[packages]]
name = "libcap-ng-utils"
version = "*"

Remediation - Ansible

- name: Ensure libcap-ng-utils is installed
  package:
    name: libcap-ng-utils
    state: present
  tags:
  - enable_strategy

Remediation - Puppet

include install_libcap-ng-utils

class install_libcap-ng-utils {
  package { 'libcap-ng-utils':
    ensure => 'installed',
  }

Remediation - Shell Script


if ! rpm -q --quiet "libcap-ng-utils" ; then
    yum install -y "libcap-ng-utils"
fi