Let sudo remember the password-Ubuntu manual Configuration

Source: Internet
Author: User
Because many operations need to be done through the command line method and sudo is required, but it is troublesome to enter the password each time. Today, I have no intention to find a post to tell me how to do this: make sudo not allow passwords in passwords.
Before proceeding with the above steps, you must first change the/etc/sudoers file mode so that the document can be written. After the modification, you need to change it back (at this time, you can only use the su command to change the file attributes...); otherwise, you cannot use the sudo command: 1 Su
2 Chmod   0440   / Etc / Sudoers
3 Exit

If you do not enter a password, it will inevitably lead to risks. However, as a desktop computer, it will endure.

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.