Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-58417 | AOSX-09-001015 | SV-72847r1_rule | Medium |
Description |
---|
The default global umask setting must be set to '027' for user applications. The setting '027' ensures that user created files and directories will be readable, but not writable, by users that share the same group id. Users with a different group id will not be able to read or write those files. This mitigates the risk that unauthorized users might be able to read and write files saved to the system by user applications. |
STIG | Date |
---|---|
Apple OS X 10.9 (Mavericks) Workstation Security Technical Implementation Guide | 2015-02-26 |
Check Text ( C-59243r1_chk ) |
---|
To view the umask setting, run the following command: awk '{ print $2 }' /etc/launchd-user.conf If the command produces an error, or the result is not '027', this is a finding. |
Fix Text (F-63731r1_fix) |
---|
To set the umask setting for user applications, run the following command: sudo sh -c 'echo 'umask 027' > /etc/launchd-user.conf' |