How do Linux systems switch users with commands?

Time:2021-7-30

Beginner Linux, record a simple operation

1. I installed a virtual machine. First, open the virtual machine

2. Right click on the desktop and select open terminal

3. Enter the command to see the current user

4. Enter the command Su – root and password to switch to administrator

5. You can switch to full screen mode on the administrator command line

6. Switch back

Recommended Today

VBS obtains the operating system and its version number

VBS obtains the operating system and its version number ? 1 2 3 4 5 6 7 8 9 10 11 12 ‘************************************** ‘*by r05e ‘* operating system and its version number ‘************************************** strComputer = “.” Set objWMIService = GetObject(“winmgmts:” _  & “{impersonationLevel=impersonate}!\\” & strComputer & “\root\cimv2”) Set colOperatingSystems = objWMIService.ExecQuery _  (“Select * from […]