SV-279544r1192057_rule
V-279544
SRG-OS-000312-GPOS-00123
NXAC-OS-000027
CAT II
10
1. Nutanix AOS, Prism Central, and Files OS VMs are designed and engineered to have DAC-enabled symlinks by default. If the DAC symlinks setting is missing or not active and running, then some corruption has occurred and the OS must be rebuilt.
2. Configure Nutanix AHV to allow operating system admins to pass information to other operating system admins or users adding or modifying the following line in the system configuration file /etc/syscrl.d/:
fs.protected_symlinks = 1
3. After adding the changes, load settings from all system configuration files using the following command.
$ sudo sysctl --system
1. Verify Nutanix AOS enables DAC on symlinks using the following command.
$ sudo sysctl fs.protected_symlinks
fs.protected_symlinks = 1
2. Verify that the configuration files are present to enable this kernel parameter using the following command.
$ sudo grep -r fs.protected_symlinks /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_symlinks = 1
/lib/sysctl.d/50-default.conf:fs.protected_symlinks = 1
If "fs.protected_symlinks" is not set to "1", is missing or commented out, this is a finding.
V-279544
False
NXAC-OS-000027
1. Verify Nutanix AOS enables DAC on symlinks using the following command.
$ sudo sysctl fs.protected_symlinks
fs.protected_symlinks = 1
2. Verify that the configuration files are present to enable this kernel parameter using the following command.
$ sudo grep -r fs.protected_symlinks /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_symlinks = 1
/lib/sysctl.d/50-default.conf:fs.protected_symlinks = 1
If "fs.protected_symlinks" is not set to "1", is missing or commented out, this is a finding.
M
5730