content icon indicating copy to clipboard operation
content copied to clipboard

File path inconsistent in accounts_umask_etc_bashrc

Open jan-cerny opened this issue 1 year ago • 0 comments

Description of problem:

In rule accounts_umask_etc_bashrc on Fedora or RHEL the "/etc/bashrc" is configured but on other systems eg. Debian 12 the name of the file is "/etc/bash.bashrc". It seems to be the case also for SLES. We don't always use the correct file path. That causes for example Automatus fail on Debian 12. We need to ensure that rule.yml, all checks and remediations and also all test scenarios use a correct file path depending on platform.

SCAP Security Guide Version:

current upstream master as of HEAD da1fa23eaa1036de09feb082ec6855a7ef3eb0d5 as of 2024-09-20

Operating System Version:

all

Steps to Reproduce:

  1. review accounts_umask_etc_bashrc

Actual Results:

wrong file path used on Debian 12

Expected Results:

rule.yml, all checks and all remediations and also all test scenarios use a correct file path

Additional Information/Debugging Steps:

no

jan-cerny avatar Sep 20 '24 09:09 jan-cerny