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 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

  1. Click Start and then click the arrow on the side of the Shut Down button. You see several menu commands.
  2. Choose Switch User. A dialog box appears.
  3. Click the user you want to log in as. …
  4. Type the password and then click the arrow button to log in.
James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest