Get the App
SLTechnology News&Howtos  ›  Servers  › 

The method of switching users in linux

Shulou Source: shulou.com Published: 2022-06-02 00:22:09 11月15日 Update

This article will explain in detail the methods of switching users on linux. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

Linux method to switch users: first click the connect linux button, enter the user name, host ip address; then enter the password, and enter the su marry command to switch users.

Linux method for switching users:

1. Open the linux client, as shown below

2. Click the connect linux button.

3. Enter the user name and ip address of the host

4. Enter the password

5. If the connection is successful, you can perform the operation.

6. For example, if the current user is root and wants to switch to the ordinary user marry, enter the su marry command and immediately switch to the marry environment.

7. To switch from an ordinary user to a root user, you can use the su command directly, but prompt for a password

The method of switching users on linux is shared here. I hope the above content can be of some help to you and can learn more knowledge. If you think the article is good, you can share it for more people to see.

Tags: User switch input method command password normal host address button more user name article good practical successful content customer client article Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno Huawei Linux Shulou Tech Info macOS