SV-279543r1192595_rule
V-279543
SRG-OS-000312-GPOS-00122
NXAC-OS-000024
CAT II
10
Nutanix AOS, Prism Central, and Files OS VMs are designed and engineered to have DAC-enabled hardlinks by default. If the DAC hardlinks setting is missing or not active and running, then some corruption has occurred and the OS must be rebuilt.
1. Configure Nutanix AHV to allow operating system admins to pass information to other operating system admins or users by adding or modifying the following line in the system configuration file /etc/syscrl.d/:
fs.protected_hardlinks = 1
2. After adding the changes, load settings from all system configuration files using the following command.
$ sudo sysctl --system
1. Verify "fs.protected_hardlinks" is set to "1" using the following command.
$ sudo sysctl fs.protected_hardlinks
fs.protected_hardlinks = 1
2. Verify the configuration files are present to enable this kernel parameter using the following command.
$ sudo grep -r fs.protected_hardlinks /run/sysctl.d/*.conf /usr/local/lib/sysctl.d/*.conf /usr/lib/sysctl.d/*.conf /lib/sysctl.d/*.conf /etc.sysctl.conf
/usr/lib/sysctl.d/50-default.conf:fs.protected_hardlinks = 1
/lib/sysctl.d/50-default.conf:fs.protected_hardlinks = 1
If "fs.protected_hardlinks" is not set to "1" or is commented out or missing, this is a finding.
V-279543
False
NXAC-OS-000024
1. Verify "fs.protected_hardlinks" is set to "1" using the following command.
$ sudo sysctl fs.protected_hardlinks
fs.protected_hardlinks = 1
2. Verify the configuration files are present to enable this kernel parameter using the following command.
$ sudo grep -r fs.protected_hardlinks /run/sysctl.d/*.conf /usr/local/lib/sysctl.d/*.conf /usr/lib/sysctl.d/*.conf /lib/sysctl.d/*.conf /etc.sysctl.conf
/usr/lib/sysctl.d/50-default.conf:fs.protected_hardlinks = 1
/lib/sysctl.d/50-default.conf:fs.protected_hardlinks = 1
If "fs.protected_hardlinks" is not set to "1" or is commented out or missing, this is a finding.
M
5730