The SU command for Linux

Source: Internet
Author: User

SU (switch user) knows the command to switch users.

Command format

Su [-l] User name-----> This is the option to switch the specified user completely

SU User name----> This is a half switch


EG:SU Root This is the switch to the root user, this execution must be required to enter the root user's password

After the session, you can use the Exit command to return the original user's shell, which is half-switched


650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M01/8F/4D/wKiom1jaSm2SQKy3AAANVMVSh7g659.png-wh_500x0-wm_ 3-wmp_4-s_3876297564.png "title=" Qq20170328193520.png "alt=" Wkiom1jasm2sqky3aaanvmvsh7g659.png-wh_50 "/>

This is the other option for the SU command

650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M01/8F/4B/wKioL1jaSvLy4kLVAABKv-sflIo842.png-wh_500x0-wm_ 3-wmp_4-s_2749141295.png "title=" Qq20170328193734.png "alt=" Wkiol1jasvly4klvaabkv-sflio842.png-wh_50 "/>


This article is from the "phize" blog, make sure to keep this source http://12756301.blog.51cto.com/12746301/1911212

The SU command for Linux

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.