The Ubuntu operating system default filesystem permissions must be defined in such a way that all authenticated users can read and modify only their own files.
An XCCDF Rule
Description
Setting the most restrictive default permissions ensures that when new accounts are created they do not have unnecessary access.
- ID
- SV-238209r991590_rule
- Version
- UBTU-20-010016
- Severity
- Medium
- References
- Updated
Remediation Templates
A Manual Procedure
Configure the system to define the default permissions for all authenticated users in such a way that the user can read and modify only their own files.
Edit the "UMASK" parameter in the "/etc/login.defs" file to match the example below:
UMASK 077