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
The task for this CIS criteria uses replace assuming that there is already a umask setting in /etc/bash.bashrc and /etc/profile, but does not add the umask setting if it's missing (seems to be missing in bash.rc on a fresh Ubuntu 18.04 install) ie.
- name: "SCORED | 5.4.4 | PATCH | Ensure default user umask is 027 or more restrictive"
replace:
path: "{{ item }}"
regexp: '(^\s+umask) 002'
replace: '\1 027'
with_items:
- /etc/bash.bashrc
- /etc/profile
An update is needed to ensure that the proper umask setting is added to these files if one does not already exist.
The text was updated successfully, but these errors were encountered:
The task for this CIS criteria uses
replace
assuming that there is already a umask setting in /etc/bash.bashrc and /etc/profile, but does not add the umask setting if it's missing (seems to be missing in bash.rc on a fresh Ubuntu 18.04 install) ie.An update is needed to ensure that the proper umask setting is added to these files if one does not already exist.
The text was updated successfully, but these errors were encountered: