Skip to content

Ensure nss-tools is installed

An XCCDF Rule

Description

The nss-tools package can be installed with the following command:

$ sudo dnf install nss-tools

Rationale

Network Security Services (NSS) is a set of libraries designed to support cross-platform development of security-enabled client and server applications. Install the nss-tools package to install command-line tools to manipulate the NSS certificate and key database.

ID
xccdf_org.ssgproject.content_rule_package_nss-tools_installed
Severity
Medium
References
Updated



Remediation - Anaconda Pre-Install Instructions


package --add=nss-tools

Remediation - OS Build Blueprint


[[packages]]
name = "nss-tools"
version = "*"

Remediation - Ansible

- name: Ensure nss-tools is installed
  package:
    name: nss-tools
    state: present
  tags:
  - CCE-89706-6

Remediation - Puppet

include install_nss-tools

class install_nss-tools {
  package { 'nss-tools':
    ensure => 'installed',
  }

Remediation - Shell Script


if ! rpm -q --quiet "nss-tools" ; then
    dnf install -y "nss-tools"
fi