Information
RHEL 10 must define default permissions for all authenticated users in such a way that the user can read and modify only their own files.
GROUP ID: V-281082RULE ID: SV-281082r1195406
Setting the most restrictive default permissions ensures that when new accounts are created, they do not have unnecessary access.
Solution
Configure RHEL 10 to define default permissions for all authenticated users in such a way that the user can read and modify only their own files.
Add or edit the lines for the "umask" parameter in the "/etc/login.defs" file to "077":
umask 077