UBTU-22-412035 - 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.

Information

Setting the most restrictive default permissions ensures newly created accounts do not have unnecessary access.

Solution

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

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_CAN_Ubuntu_22-04_LTS_V2R4_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-260555r991590_rule, STIG-ID|UBTU-22-412035, Vuln-ID|V-260555

Plugin: Unix

Control ID: e6d1cd4a2b714e4b2b0a97792df43ea653fa66795a709fc6b96e4253802b2499