Function Description: Change user identity.
Grammar: su&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP;" [-FLMP] [--help] [--version] [-] [-c < directive] [-s <shell>] [User Account]
Supplemental Note: Su allows users to temporarily change the identity of the login. Changes must be entered to change the user account and password.
Parameters:
-c< instruction > or--command=< instruction > After executing the specified instruction, the original identity is restored.
-F or--fast applies to csh and Tsch so that the shell does not have to read the startup file.
-.-L or--login change the identity, also changes the working directory, as well as home,shell,user,logname. In addition, the path variable is changed.
Do not change environment variables when-m,-p or--preserve-environment change identities.
-s<shell> or--shell=<shell> Specifies the shell to execute.
--help display Help.
--version Displays version information.
[user Account] Specifies the user to be changed. If you do not specify this parameter, the preset is changed to root.