Puppet Class: secure_windows::stig::v73765

Defined in:
manifests/stig/v73765.pp

Overview

This class manages: V-73765 The Deny log on as a service user right must be configured to include no accounts or groups (blank) on domain controllers.

Parameters:

  • enforced (Boolean) (defaults to: false)


4
5
6
7
8
9
10
11
12
13
14
# File 'manifests/stig/v73765.pp', line 4

class secure_windows::stig::v73765 (
  Boolean $enforced = false,
) {
  if $enforced {
    if($facts['windows_server_type'] == 'windowsdc') {
      local_security_policy { 'Deny log on as a service':
        ensure         => 'absent',
      }
    }
  }
}