Produced by Araxis Merge on 5/14/2018 1:18:38 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.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | MCCF_EDI_TAS_Infrastructure.zip\MCCF_EDI_TAS_Infrastructure\mag_sys_build\playbooks | uid0.yml | Tue Mar 27 23:51:06 2018 UTC |
| 2 | MCCF_EDI_TAS_Infrastructure.zip\MCCF_EDI_TAS_Infrastructure\mag_sys_build\playbooks | uid0.yml | Tue May 8 03:19:13 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 34 |
| Changed | 1 | 2 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| 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 |
No regular expressions were active.
| 1 | # Ansible Playbook | |
| 2 | # David Ho lton - Hal faker. PII 21 Nov 201 7 | |
| 3 | # | |
| 4 | # Verify N o Non-Root Users hav e UID 0. | |
| 5 | ||
| 6 | --- | |
| 7 | - name: Ch ecking for Lusers | |
| 8 | hosts: r hel7 | |
| 9 | become: yes | |
| 10 | tasks: | |
| 11 | - name: Check for non-root U ID 0 Luser s | |
| 12 | shell: "awk -F: '($3 == 0 ) {print $ 1}' /etc/p asswd | gr ep -v root " | |
| 13 | regist er: TheLus er | |
| 14 | change d_when: fa lse | |
| 15 | ||
| 16 | - fail: | |
| 17 | msg: "ERROR ME SSAGE: Som e Luser, { { TheLuser .stdout }} , has UID of 0" | |
| 18 | when: TheLuser.s tdout_line s != "root " |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.