Puppet Class: secure_windows::stig::v73733

Defined in:
manifests/stig/v73733.pp

Overview

This class manages: V-73733 The Access this computer from the network user right must only be assigned to the Administrators and Authenticated Users groups on member servers.

Parameters:

  • enforced (Boolean) (defaults to: false)


5
6
7
8
9
10
11
12
13
14
15
16
17
18
# File 'manifests/stig/v73733.pp', line 5

class secure_windows::stig::v73733 (
  Boolean $enforced = false,
) {
  if $enforced {
    if !($facts['windows_server_type'] == 'windowsdc') {
      local_security_policy { 'Access this computer from the network':
        ensure         => 'present',
        policy_setting => 'SeNetworkLogonRight',
        policy_type    => 'Privilege Rights',
        policy_value   => '*S-1-5-32-544,*S-1-5-11',
      }
    }
  }
}