SV-279629r1192207_rule
V-279629
SRG-OS-000206-GPOS-00084
NXAC-OS-000207
CAT II
10
1. AOS, Prism Central, and Files 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.
2. For AHV, remove accounts that do not support approved system activities.
1. For AOS, Prism Central, and Files, verify the file permissions of /home/log/messages is greater than "600" and the ownership is "root" using the following command.
$ sudo stat -c "%a %n" /home/log/messages
600 /home/log/messages
$ sudo stat -c "%U" /home/log/messages
root
$ sudo stat -c "%G" /home/log/messages
root
2. For AHV, remove accounts that do not support approved system activities. List all interactive user accounts using the following command.
$ sudo awk -F: '$3 >= 1000 {print $1 " " $5}' /etc/passwd
If accounts exist on the system that are unauthorized or if the message log is not restricted as required, this is a finding.
V-279629
False
NXAC-OS-000207
1. For AOS, Prism Central, and Files, verify the file permissions of /home/log/messages is greater than "600" and the ownership is "root" using the following command.
$ sudo stat -c "%a %n" /home/log/messages
600 /home/log/messages
$ sudo stat -c "%U" /home/log/messages
root
$ sudo stat -c "%G" /home/log/messages
root
2. For AHV, remove accounts that do not support approved system activities. List all interactive user accounts using the following command.
$ sudo awk -F: '$3 >= 1000 {print $1 " " $5}' /etc/passwd
If accounts exist on the system that are unauthorized or if the message log is not restricted as required, this is a finding.
M
5730