SV-279630r1192515_rule
V-279630
SRG-OS-000206-GPOS-00084
NXAC-OS-000208
CAT II
10
Nutanix OS VMs are configured by default to have ownership and permission levels set correctly to meet this requirement. If these are found to be out of compliance, some corruption has taken place and the OS must be rebuilt.
Verify the /var/log directory access permissions are set to "755" or less and restricted to "root" using the following command.
$ sudo stat -c "%a %n" /var/log
755 /var/log
$ sudo stat -c "%U" /var/log
root
$ sudo stat -c "%G" /var/log
root
If group ownership of /home/log/messages is anything other than "root", this is a finding.
V-279630
False
NXAC-OS-000208
Verify the /var/log directory access permissions are set to "755" or less and restricted to "root" using the following command.
$ sudo stat -c "%a %n" /var/log
755 /var/log
$ sudo stat -c "%U" /var/log
root
$ sudo stat -c "%G" /var/log
root
If group ownership of /home/log/messages is anything other than "root", this is a finding.
M
5730