Skip to content

Enable nails Service

An XCCDF Rule

Description

The nails service is used to run McAfee VirusScan Enterprise for Linux and McAfee Host-based Security System (HBSS) services. The nails service can be enabled with the following command:
$ sudo systemctl enable nails.service

Rationale

Virus scanning software can be used to detect if a system has been compromised by computer viruses, as well as to limit their spread to other systems.

ID
xccdf_org.ssgproject.content_rule_service_nails_enabled
Severity
Medium
References
Updated

Remediation Templates

A Puppet Snippet

include enable_nails
class enable_nails {
  service {'nails':
    enable => true,
    ensure => 'running',
  }
}

OS Build Blueprint

[customizations.services]
enabled = ["nails"]

An Ansible Snippet

- name: Gather the package facts
  package_facts:
    manager: auto
  tags:
  - NIST-800-53-CM-6(a)
  - NIST-800-53-SC-28

script:kickstart

service enable nails

A Shell Script

# Remediation is applicable only in certain platforms
if rpm --quiet -q kernel; then
SYSTEMCTL_EXEC='/usr/bin/systemctl'
"$SYSTEMCTL_EXEC" unmask 'nails.service'
"$SYSTEMCTL_EXEC" start 'nails.service'
"$SYSTEMCTL_EXEC" enable 'nails.service'