26185. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 5/14/2018 1:18:37 PM Eastern Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

26185.1 Files compared

# Location File Last Modified
1 MCCF_EDI_TAS_Infrastructure.zip\MCCF_EDI_TAS_Infrastructure\mag_sys_build\playbooks file_permissions.yml Tue Mar 27 23:51:08 2018 UTC
2 MCCF_EDI_TAS_Infrastructure.zip\MCCF_EDI_TAS_Infrastructure\mag_sys_build\playbooks file_permissions.yml Tue May 8 03:18:44 2018 UTC

26185.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 100
Changed 1 2
Inserted 0 0
Removed 0 0

26185.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

26185.4 Active regular expressions

No regular expressions were active.

26185.5 Comparison detail

  1   # Ansible  Playbook 
  2   # Erik van  Oudheusde PII                            - 28 Sep 2 017
  3   #
  4   # Verify P ermissions  on Import ant Files  and Direct ories
  5  
  6   ---
  7   - name: Ve rify Permi ssions on  Important  Files and  Directorie s
  8     hosts: r hel7
  9     become:  yes
  10     tasks:
  11     - name:  Gathering  stats of t he Shadow  File
  12       stat:
  13         path : /etc/sha dow
  14       regist er: shdwst at
  15     - name:  Gathering  stats of t he Group F ile
  16       stat:
  17         path : /etc/gro up
  18       regist er: grpsta t
  19     - name:  Gathering  stats of t he Passwor d File
  20       stat:
  21         path : /etc/pas swd
  22       regist er: psswds tat
  23  
  24     - name:  Display UI D, GID, an d Mode of  shadow, pa sswd, and  group.
  25       debug:
  26         msg:  [
  27           "S hadow UID  is {{ shdw stat.stat. uid }}",
  28           "S hadow GID  is {{ shdw stat.stat. gid }}",
  29           "S hadow MODE  is {{ shd wstat.stat .mode }}",
  30           "P asswd UID  is {{ pssw dstat.stat .uid }}",
  31           "P asswd GID  is {{ pssw dstat.stat .gid }}",
  32           "P asswd MODE  is {{ pss wdstat.sta t.mode }}" ,
  33           "G roup UID i s {{ grpst at.stat.ui d }}",
  34           "G roup GID i s {{ grpst at.stat.gi d }}",
  35           "G roup MODE  is {{ grps tat.stat.m ode }}"
  36         ]
  37  
  38     - name:  Programmat ically che cking UID,  GID, and  Mode of Sh adow file.  Will skip  if pass.
  39       fail:
  40         msg:  "MANUALLY  CHECK SHA DOW FILE"
  41       when:  shdwstat.s tat.uid|in t != 0 or  shdwstat.s tat.gid|in t != 0 or  shdwstat.s tat.mode ! = "0000"
  42  
  43     - name:  Programmat ically che cking UID,  GID, and  Mode of Gr oup file.  Will skip  if pass.
  44       fail:
  45         msg:  "MANUALLY  CHECK GRO UP FILE"
  46       when:  grpstat.st at.uid|int  != 0 or g rpstat.sta t.gid|int  != 0 or gr pstat.stat .mode != " 0644"
  47  
  48     - name:  Programmat ically che cking UID,  GID, and  Mode of Pa sswd file.  Will skip  if pass.
  49       fail:
  50         msg:  "MANUALLY  CHECK PAS SWD FILE"
  51       when:  psswdstat. stat.uid|i nt != 0 or  psswdstat .stat.gid| int != 0 o r psswdsta t.stat.mod e != "0644 "