Home>Article>Operation and Maintenance> How to switch users in linux

How to switch users in linux

coldplay.xixi
coldplay.xixi Original
2020-12-22 16:34:59 9453browse

How to switch users in Linux: First click the Connect Linux button, enter the user name and host IP address; then enter the password, and enter the su marry command to switch users.

How to switch users in linux

The operating environment of this tutorial: windows7 system, linux5.9.11 version. This method is suitable for all brands of computers.

【Recommended related articles:linux tutorial

How to switch users in linux:

1. Open the linux client , as shown in the figure below

How to switch users in linux

2. Click the connect linux button

How to switch users in linux

3. Enter the user name and host IP address

How to switch users in linux

4. Enter the password

How to switch users in linux

5. The connection is successful and you can proceed

How to switch users in linux

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

How to switch users in linux

7. To switch from an ordinary user to a root user, you can use the su command directly, but you will be prompted to enter the password

How to switch users in linux

##Related learning recommendations:

linux video tutorial

The above is the detailed content of How to switch users in linux. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn