GEN003220 - Cron programs must not set the umask to a value less restrictive than 077 - '/etc/cron.weekly/*'

Information

The umask controls the default access mode assigned to newly created files. A umask of 077 limits new files to mode 700 or less permissive. Although umask is often represented as a 4-digit octal number, the first digit representing special access modes is typically ignored or required to be 0.

Solution

Edit cron script files and modify the umask to 077.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Oracle_Linux_5_V2R1_STIG.zip

Item Details

Category: ACCESS CONTROL, CONFIGURATION MANAGEMENT

References: 800-53|AC-6, 800-53|CM-5(6), CAT|III, CCI|CCI-000225, CCI|CCI-001499, Rule-ID|SV-218448r603259_rule, STIG-ID|GEN003220, STIG-Legacy|SV-64337, STIG-Legacy|V-4360, Vuln-ID|V-218448

Plugin: Unix

Control ID: b382be3d8d82da8b0bcc72de2ad53cc1ee6307e6424979ca3ffffdf177da03b0