Which Linux Command Can Be Used to Login as Root?
Contents How Do I Login as Root in Linux? If You’re in the Desktop Environment, You Can Press Ctrl + Alt + T to Start the Terminal. Type. Sudo Passwd Root and...
Contents
How do I login as root in Linux?
If you’re in the desktop environment, you can press Ctrl + Alt + T to start the terminal. Type. sudo passwd root and press ↵ Enter . When prompted for a password, enter your user password.
Must Read
What Linux command makes you a root user?
You need to use any one of the following command to log in as superuser / root user on Linux: su command – Run a command with substitute user and group ID in Linux. sudo command – Execute a command as another user on Linux.