SV-220128r603266_rule
V-220128
SRG-OS-000480
GEN008760
CAT II
10
Change the ownership of the file.
# chown root /pool-name/boot/grub/menu.lst
or
# chown 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 ownership of the menu.lst file.
Procedure:
# ls -lL /pool-name/boot/grub/menu.lst
or
# ls -lL /boot/grub/menu.lst
If the owner of the file is not root, this is a finding.
V-220128
False
GEN008760
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 ownership of the menu.lst file.
Procedure:
# ls -lL /pool-name/boot/grub/menu.lst
or
# ls -lL /boot/grub/menu.lst
If the owner of the file is not root, this is a finding.
M
4061