How Do I Switch Users in Ubuntu?
Contents to Switch to the Root User on Ubuntu-Based Distributions, Enter Sudo Su in the Command Terminal. If You Set a Root Password When You Installed the...
To switch to the root user on Ubuntu-based distributions, enter sudo su in the command terminal. If you set a root password when you installed the distribution, enter su. To switch to another user and adopt their environment, enter su – followed by the name of the user (for example, su – ted).
How do I login as a different user in Linux?
To change to a different user and create a session as if the other user had logged in from a command prompt, type “su -” followed by a space and the target user’s username. Type the target user’s password when prompted.
How do I switch from one user to another?
How to Switch between User Accounts on Your Computer
- Click Start and then click the arrow on the side of the Shut Down button. You see several menu commands.
- Choose Switch User. A dialog box appears.
- Click the user you want to log in as. …
- Type the password and then click the arrow button to log in.