Linux system switching root user skills

  

When we use a Linux computer, the default is to use ROOT users to log in, but sometimes we need to use other accounts, then how to switch? Today Xiaobian will share with you the skills of switching Linux ROOT users.

switching method:

1, (GUI) after log out with a new user name.

2, (graphical interface) Red flag has not been tried, I have a version of the switch user function.

3, (terminal) is to press ctrl + Alt + F1 (or F2, F3,,,,, F6) at the same time, to switch to another terminal. Enter your username and password to log in. To enter the desktop, type

startx -- :1

(startx opens the first graphics window, startx --:1 opens the second graphics window, startx --:2 opens the first Three graphics windows...))

4, (terminal) input in terminal

su User name

Temporary switch to another user

This is how to switch ROOT users in Linux system. If you need to use other accounts, you can use this method to switch. I believe it will bring you some help.

Copyright © Windows knowledge All Rights Reserved