SV-220129r603266_rule
V-220129
SRG-OS-000480
GEN008780
CAT II
10
Change the group ownership of the file.
# chgrp root /pool-name/boot/grub/menu.lst
or
# chgrp root /boot/grub/menu.lst
This check applies to the global zone only. Determine the type of zone that you are currently securing.
# zonename
If the command output is "global", this check applies.
On systems that have a ZFS root, the active menu.lst file is typically located at /pool-name/boot/grub/menu.lst where "pool-name" is the mount point for the top-level dataset.
On systems that have a UFS root, the active menu.lst file is typically located at /boot/grub/menu.lst. To locate the active GRUB menu, use the bootadm command with the list-menu option:
# bootadm list-menu
Check the group ownership of the menu.lst file.
Procedure:
# ls -lL /pool-name/boot/grub/menu.lst
or
# ls -lL /boot/grub/menu.lst
If the group owner of the file is not root, bin, sys, or system this is a finding.
V-220129
False
GEN008780
This check applies to the global zone only. Determine the type of zone that you are currently securing.
# zonename
If the command output is "global", this check applies.
On systems that have a ZFS root, the active menu.lst file is typically located at /pool-name/boot/grub/menu.lst where "pool-name" is the mount point for the top-level dataset.
On systems that have a UFS root, the active menu.lst file is typically located at /boot/grub/menu.lst. To locate the active GRUB menu, use the bootadm command with the list-menu option:
# bootadm list-menu
Check the group ownership of the menu.lst file.
Procedure:
# ls -lL /pool-name/boot/grub/menu.lst
or
# ls -lL /boot/grub/menu.lst
If the group owner of the file is not root, bin, sys, or system this is a finding.
M
4061