Puppet Class: aix_tidy::disable_remote_services

Defined in:
manifests/disable_remote_services.pp

Overview

Aix_tidy::Disable_remote_services

Disable r* commands and daemons



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

class aix_tidy::disable_remote_services {

  $commands = ["/usr/bin/rcp", "/usr/bin/rlogin", "/usr/bin/rsh"]
  $daemons  = ["/usr/sbin/rlogind", "/usr/sbin/rshd", "/usr/sbin/tftpd"]

  file { $commands:
    mode => "0000",
  }

  file { $daemons:
    mode => "0000",
  }
}