Puppet Class: aix_tidy::user_attribute_lockdown

Defined in:
manifests/user_attribute_lockdown.pp

Overview

Aix_tidy::User_attributes

Set AIX attributes to prevent remote logins on system accounts



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

class aix_tidy::user_attribute_lockdown {
  $user_lockdown = [
    "daemon",
    "bin",
    "sys",
    "adm",
    "nobody",
  ]

  user { $user_lockdown:
    ensure     => present,
    attributes => ['login=false','rlogin=false'],
  }

}