Skip to content

Ubuntu 22.04 LTS 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 newly created accounts do not have unnecessary access.

ID
SV-260555r991590_rule
Version
UBTU-22-412035
Severity
Medium
References
Updated

Remediation Templates

A Manual Procedure

Configure Ubuntu 22.04 LTS to define the default permissions for all authenticated users in such a way that the user can read and modify only their own files.  
 
Add or modify the following line in the "/etc/login.defs" file:  
 
UMASK 077