Skip to content
ATO Pathways
Log In
Overview
Search
Catalogs
SCAP
OSCAL
Catalogs
Profiles
Documents
References
Knowledge Base
Platform Documentation
Compliance Dictionary
Platform Changelog
About
Catalogs
XCCDF
Guide to the Secure Configuration of Red Hat Enterprise Linux 8
System Settings
File Permissions and Masks
Restrict Programs from Dangerous Execution Patterns
Daemon Umask
Daemon Umask
An XCCDF Group - A logical subset of the XCCDF Benchmark
Details
Profiles
Prose
Daemon Umask
1 Rule
The umask is a per-process setting which limits the default permissions for creation of new files and directories. The system includes initialization scripts which set the default umask for system daemons.
daemon umask
Enter umask for daemons
Set Daemon Umask
Unknown Severity
The file
/etc/init.d/functions
includes initialization parameters for most or all daemons started at boot time. Many daemons on the system already individually restrict themselves to a umask of
077
in their own init scripts. By default, the umask of
022
is set which prevents creation of group- or world-writable files. To set the umask for daemons expected by the profile, edit the following line:
umask