Linux Command Encyclopedia disk maintenance: su

Source: Internet
Author: User
Keywords Linux command encyclopedia disk maintenance
Tags aliyun allows users change command encyclopedia disk disk maintenance function help

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.