sulogin
Log in as root during single-user mode. tldr-pages
On Linux
Linux
Start sulogin on the default console
sudo suloginIdentifyStart sulogin on a specific TTY device
sudo sulogin /dev/ttyXIdentifySet a maximum timeout(in seconds) for entering the root password before continuing normal boot
sudo sulogin --timeout timeoutIdentifyStart root's shell as a login shell
sudo sulogin --login-shellIdentifyForce a root shell without asking for a password when default methods of obtaining the password fail
sudo sulogin --forceIdentify