1. open the terminal, and the prompt is & ldquo ;$ & rdquo;, indicating that the user is a common user. in this case, directly enter su, press enter, enter root password, and press enter, you can switch to the root user, and the prompt becomes & ldquo ;#& rdquo ;. Note that the terminal is not displayed when you enter the password, and each time you switch to the root user, this process is required. 2. switch back to a common user. you only need to enter the & ldquo; su username & rdquo; and then OK.
1. open the terminal and prompt "$", indicating that the user is a common user. in this case, directly enter su, press enter, enter the root password, and press enter to switch to the root user, at this time, the prompt is changed to "#".
Note that the terminal is not displayed when you enter the password, and each time you switch to the root user, this process is required.
2. switch back to a common user. you only need to enter the "su user name.