Skip to content

Uninstall iprutils Package

An XCCDF Rule

Description

The iprutils package can be removed with the following command:
$ sudo yum erase iprutils

Rationale

iprutils provides a suite of utlilities to manage and configure SCSI devices supported by the ipr SCSI storage device driver.

ID
xccdf_org.ssgproject.content_rule_package_iprutils_removed
Severity
Medium
References
Updated

Remediation Templates

A Puppet Snippet

include remove_iprutils
class remove_iprutils {
  package { 'iprutils':
    ensure => 'purged',
  }
}

An Ansible Snippet

- name: Ensure iprutils is removed
  package:
    name: iprutils
    state: absent
  tags:
  - DISA-STIG-RHEL-08-040380

script:kickstart

package remove iprutils

script:bootc

dnf remove iprutils

Anaconda Pre-Install Instructions

package --remove=iprutils

A Shell Script

# CAUTION: This remediation script will remove iprutils
#	   from the system, and may remove any packages
#	   that depend on iprutils. Execute this
#	   remediation AFTER testing on a non-production
#	   system!