You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for the feedback, This has been a long standing issue with /bin/false vs /bin/true. Many details allow either when reading specific details, in this case it does ask for /bin/false.
However with true and false both having the same impact the difference is purely down to the return code at boot time.
with bin/false it will return a non 0 return code meaning that there will be failures logged at boot time (when there shouldn't be as it is as expected), where as bin/true give a 0 return code meaning this is desired and expected.
This has been a long going discussion with STIG and the community either should be acceptable when it comes to auditing.
Describe the Issue
There's a minor change needed at https://github.com/ansible-lockdown/UBUNTU20-STIG/blob/devel/tasks/fix-cat2.yml#L3046. You set /bin/true while the benchmark checks for /bin/false, and thus becomes a finding.
Expected Behavior
V-251505 should pass benchmark
Actual Behavior
V-251505 fails benchmark with:
Control(s) Affected
V-251505
Environment (please complete the following information):
All below items are N/A, see line link to fix-cat2.yaml...
Additional Notes
Anything additional goes here
Possible Solution
Enter a suggested fix here
The text was updated successfully, but these errors were encountered: