How do I login as root in Linux?
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.
How do I login as root in terminal?
Type in /usr/bin/gksu * for the 'Command' path. When you launch your new desktop shortcut you will be prompted for an application to run. Type in: xterm . You will now be prompted for your password; once you enter it you'll have access to a working root terminal.
How do I switch to root user?
To change user to root account, simply run “su” or “su –” without any arguments.