Skip to content

Commit

Permalink
modify stig-specific prose
Browse files Browse the repository at this point in the history
  • Loading branch information
vojtapolasek committed Jan 21, 2025
1 parent aa28311 commit f48da81
Showing 1 changed file with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,21 @@ checktext: |-
ExecStart=-/usr/lib/systemd/systemd-sulogin-shell rescue
If this line is not returned, or is commented out, this is a finding.
In case the output does not match, check if the <tt>ExecStart</tt> directive is not overridden:
grep ExecStart /etc/systemd/system/rescue.service.d/*.conf
The output should contain two lines:
ExecStart=
ExecStart=-/usr/lib/systemd/systemd-sulogin-shell rescue
If the line is not returned in any of cases mentioned above, or is commented out, this is a finding.
fixtext: |-
Configure {{{ full_name }}} to require authentication for single-user mode.
Add or modify the following line in the "/usr/lib/systemd/system/rescue.service" file:
Add following two lines to the file "/etc/systemd/system/rescue.service.d/10-remediation.conf":
ExecStart=
ExecStart=-/usr/lib/systemd/systemd-sulogin-shell rescue

0 comments on commit f48da81

Please sign in to comment.