在Linux下切换账号,可以使用`su`命令 followed by the username you want to switch to. For example, if you want to switch to the `root` user, you can type:

```
su root
```
You will then be prompted to enter the password for the `root` user. Once you have entered the correct password, you will be logged in as the `root` user.