SV-258903r991589_rule
V-258903
SRG-OS-000480-GPOS-00227
PHTN-40-000244
CAT II
10
Navigate to and open:
/etc/sysctl.d/zz-stig-hardening.conf
Add or update the following line:
fs.protected_hardlinks = 1
At the command line, run the following command to load the new configuration:
# /sbin/sysctl --load /etc/sysctl.d/zz-stig-hardening.conf
Note: If the file zz-stig-hardening.conf does not exist, it must be created.
At the command line, run the following command to verify hardlink protection is enabled:
# /sbin/sysctl fs.protected_hardlinks
Example result:
fs.protected_hardlinks = 1
If the "fs.protected_hardlinks" kernel parameter is not set to "1", this is a finding.
V-258903
False
PHTN-40-000244
At the command line, run the following command to verify hardlink protection is enabled:
# /sbin/sysctl fs.protected_hardlinks
Example result:
fs.protected_hardlinks = 1
If the "fs.protected_hardlinks" kernel parameter is not set to "1", this is a finding.
M
5569