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.
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.