How to log in as a new user in Ubuntu?

After creating a new user on Ubuntu, you can log into the new user account using the following methods:

  1. To switch to a new user account, enter the following command in the terminal:
su - 新用户名

You will need to enter the new user’s password to complete the login.

  1. Alternatively, you can log out of the current user and select a new user to log in. In a desktop environment, you can click on the username in the top right corner, then choose to log out and select a new user to log in.

Whichever login method you choose, you can sign into a new user account and start using it.

bannerAds