UCF STIG Viewer Logo

"At" jobs must not set the umask to a value less restrictive than 077.


Overview

Finding ID Version Rule ID IA Controls Severity
V-4366 GEN003440 M6 SV-38022r1_rule ECCD-1 ECCD-2 Medium
Description
The umask controls the default access mode assigned to newly created files. An umask of 077 limits new files to mode 700 or less permissive. Although umask is often represented as a 4-digit number, the first digit representing special access modes is typically ignored or required to be “0”.
STIG Date
MAC OSX 10.6 Workstation Security Technical Implementation Guide 2013-04-09

Details

Check Text ( C-37592r1_chk )
Open a terminal session and enter the following command to determine what "at" jobs exist on the system.

ls /var/at/spool

If no "at" jobs are present, this is not applicable.

To determine if any of the "at" jobs or any scripts referenced execute the "umask" command check for any umask setting more permissive than 077.

grep umask /var/at/spool

If any "at" job or referenced script sets umask to a value more permissive than 077, this is a finding.
Fix Text (F-32834r1_fix)
Open a terminal session and edit "at" jobs or referenced scripts to remove "umask" commands setting umask to a value less restrictive than 077.