1.294 RHEL-09-412065

Information

RHEL 9 must define default permissions for all authenticated users in such a way that the user can only read and modify their own files.

GROUP ID: V-258074
RULE ID: SV-258074r991590

Setting the most restrictive default permissions ensures that when new accounts are created, they do not have unnecessary access.

Solution

Configure RHEL 9 to define default permissions for all authenticated users in such a way that the user can only read and modify their own files.

Add or edit the lines for the "UMASK" parameter in the "/etc/login.defs" file to "077":

UMASK 077

See Also

https://workbench.cisecurity.org/benchmarks/22008