Information
Amazon Linux 2023 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-274145RULE ID: SV-274145r1120423
Setting the most restrictive default permissions ensures that when new accounts are created, they do not have unnecessary access.
Satisfies: SRG-OS-000480-GPOS-00228, SRG-OS-000480-GPOS-00230
Solution
Configure Amazon Linux 2023 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