Skip to content

Install the pcsc-lite package

An XCCDF Rule

Description

The pcsc-lite package can be installed with the following command:
$ sudo yum install pcsc-lite

Rationale

The pcsc-lite package must be installed if it is to be available for multifactor authentication using smartcards.

ID
xccdf_org.ssgproject.content_rule_package_pcsc-lite_installed
Severity
Medium
References
Updated

Remediation Templates

Anaconda Pre-Install Instructions

package --add=pcsc-lite

OS Build Blueprint

[[packages]]
name = "pcsc-lite"
version = "*"

An Ansible Snippet

- name: Ensure pcsc-lite is installed
  package:
    name: pcsc-lite
    state: present
  when: ansible_virtualization_type not in ["docker", "lxc", "openvz", "podman", "container"]
  tags:

A Puppet Snippet

include install_pcsc-lite
class install_pcsc-lite {
  package { 'pcsc-lite':
    ensure => 'installed',
  }
}

A Shell Script

# Remediation is applicable only in certain platforms
if [ ! -f /.dockerenv ] && [ ! -f /run/.containerenv ]; then
if ! rpm -q --quiet "pcsc-lite" ; then
    yum install -y "pcsc-lite"
fi