Skip to content

Commit

Permalink
addressed issue #29 thanks to @msachikanta
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Bolwell <[email protected]>
  • Loading branch information
uk-bolly committed Jun 4, 2024
1 parent fee167b commit 90f5b0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/section_1/cis_1.4.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
lineinfile:
dest: /usr/lib/systemd/system/rescue.service
regexp: '/sbin/sulogin'
line: 'ExecStart=-/bin/sh -c "/sbin/sulogin; /usr/bin/systemctl --fail --no-block default'
line: 'ExecStart=-/bin/sh -c "/sbin/sulogin; /usr/bin/systemctl --fail --no-block default"'
when:
- amazon2cis_rule_1_4_2
- ansible_facts['distribution_major_version'] is version('2', '>=')
Expand Down

0 comments on commit 90f5b0f

Please sign in to comment.