Ordinary users switch on centOS7 root, each switch

The current average user logged in, want to switch to the root user, you need to enter the command

its

You need to enter the root password. When the input screen does not display, direct input finished, press Enter

After the transport, i.e. switch to the root user:

The user wants to switch from the root to the regular user, just type:

su   username

You can switch to the regular user! !

 

 

 

You can switch to the regular user! !

 

Guess you like

Origin www.cnblogs.com/mzhaox/p/11305041.html