Linux Command Encyclopedia disk maintenance: sudo

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

Function Description: Executes instructions in other capacities.

Grammar: sudo&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP;" [-BHHPV] [-s <shell>] [-u < user] [directive] or sudo [-klv]

Supplemental Note: sudo allows the user to perform the specified instruction in a different capacity, and the preset identity is root. A user with an executable sudo directive is set up in/etc/sudoers. If an unauthorized user attempts to use sudo, a warning message is sent to the administrator. When users use sudo, they must enter a password before they have a 5-minute expiration date, and they must re-enter the password.
Parameters:
-B executes instructions in the background.
-h displays Help.
-H Sets the home environment variable to the new identity home environment variable.
-K ends the expiration of the password, which means that the password will be entered the next time sudo is executed.
-l lists instructions that the current user can execute and cannot execute.
-p To change the hint sign asking for a password.
-s<shell> executes the specified shell.
-u< user > to the specified user as the new identity. If you do not add this parameter, the default is root as the new identity.
-V Extension password expiration 5 minutes.
-V Displays version information.

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.