Make sudo available for your Debian users

Source: Internet
Author: User
Let your Debian users be able to read the sudo-Linux Release Technology-Debian information. I just installed Debian 5. I am not very familiar with this kind of self-built rich system after I get used to Ubuntu. By default, normal users cannot perform sudo operations. You must manually modify the settings.
By default, the root user cannot log on to x. A terminal window is opened on the desktop of a common user, and su enters the superuser. Then run mongodo

WPB-debian:/# mongodo

By default, files are opened in the nano editor. There is a shortcut guide at the bottom of the screen. If you only want to add the sudo permission to a user, add this line to it:

Your username ALL = (ALL) ALL

If you want to add sudo permissions to all users, write as follows:

ALL = NOPASSWD: ALL

Then press Ctrl + O at the bottom of the screen to write the file. The file name I prompted when writing is sudoers. tmp. Remove ". tmp. Then press Ctrl + X to exit.
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.