Contents
How do I become superuser in Linux?
Select one of the following methods to become superuser:
- Log in as a user, start the Solaris Management Console, select a Solaris management tool, and then log in as root. …
- Log in as superuser on the system console. …
- Log in as a user, and then change to the superuser account by using the su command at the command line.
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.