1.4.4 Ensure authentication required for single user mode

Information

Single user mode is used for recovery when the system detects an issue during boot or by manual selection from the bootloader.

Rationale:

Requiring authentication in single user mode prevents an unauthorized user from rebooting the system into single user to gain root privileges without credentials.

Solution

Run the following command and follow the prompts to set a password for the root user:

# passwd root

See Also

https://workbench.cisecurity.org/files/3208