AlmaLinux OS 9 must require a unique superuser's name upon booting into single-user and maintenance modes.
An XCCDF Rule
Description
Having a nondefault grub superuser username makes password-guessing attacks less effective.
- ID
- SV-269138r1050020_rule
- Version
- ALMA-09-006400
- Severity
- Medium
- References
- Updated
Remediation Templates
A Manual Procedure
Configure AlmaLinux OS 9 to have a unique username for the grub superuser account using the following commands:
$ sed -ri 's/root/superman/' /etc/grub.d/01_users
$ grub2-mkconfig -o /boot/grub2/grub.cfg