1.491 - systems version 7.2 or newer using Unified Extensible Firmware Interface (UEFI) must require authentication upon booting into single-user and maintenance modes - password

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

If the system does not require valid root authentication before it boots into single-user or maintenance mode, anyone who invokes single-user or maintenance mode is granted privileged access to all files on the system. GRUB 2 is the default boot loader for RHEL 7 and is designed to require a password to boot into single-user mode or make modifications to the boot menu.

Solution

Configure the system to encrypt the boot password for root.

Generate an encrypted grub2 password for root with the following command:

Note: The hash generated is an example.

# grub2-setpassword
Enter password:
Confirm password:

Edit the /boot/efi/EFI/fedora/grub.cfg file and add or modify the following lines in the '### BEGIN /etc/grub.d/01_users ###' section:

set superusers='root'
export superusers

See Also

https://docs.fedoraproject.org/f28/system-administrators-guide/index.html

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-5(1), CAT|I, CCI|CCI-000213

Plugin: Unix

Control ID: 7572e0502f7421e69012d49743212d2e956ddd6faf09fcec2b44bd538a8c6991