SV-281310r1167080_rule
V-281310
SRG-OS-000312-GPOS-00122
RHEL-10-701080
CAT II
10
Configure RHEL 10 to enable DAC on symlinks with the following:
Create a drop-in if it does not already exist:
$ sudo vi /etc/sysctl.d/99-fs_protected_symlinks.conf
Add the following to the file:
fs.protected_symlinks = 1
Reload settings from all system configuration files with the following command:
$ sudo sysctl --system
Verify RHEL 10 is configured to enable DAC on symlinks.
Check the status of the "fs.protected_symlinks" kernel parameter with the following command:
$ sudo sysctl fs.protected_symlinks
fs.protected_symlinks = 1
If "fs.protected_symlinks" is not set to "1" or is missing, this is a finding.
V-281310
False
RHEL-10-701080
Verify RHEL 10 is configured to enable DAC on symlinks.
Check the status of the "fs.protected_symlinks" kernel parameter with the following command:
$ sudo sysctl fs.protected_symlinks
fs.protected_symlinks = 1
If "fs.protected_symlinks" is not set to "1" or is missing, this is a finding.
M
5733