How Do I Enable Root Login in Linux?
Contents

How do I enable root account?

Enabling and disable root login in nutshell

Use the sudo –i passwd root command. Set root password, when it asks. Use the sudo –i passwd root command. Set root password, when it asks.

How do I know if my Linux root is disabled?

Hit Ctrl+Alt+F1. This will bring to a separate terminal. Try to login as root by typing root as your login and providing the password. If the root account is enabled, the login will work.

Alexander Ross

Alexander Ross

Gaming, Esports & Interactive Media Writer

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.

Share this article
Twitter Facebook Pinterest