This article is first published in the dark world.
Create a new user ilanni in Ubuntu today. When executing the sudo command, the following error message is displayed: ilanni is not in the sudoers file. The incident will be reported.
650) This. width = 650; "Title =" clip_image001 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image001 "src =" http://img1.51cto.com/attachment/201408/27/526870_1409129855p65F.png "width =" 537 "Height =" 159 "/>
After querying the relevant information, we know that:
The ilanni user has insufficient permissions. You only need to add this user to The sudo user group.
Switch to the root user, modify the/etc/sudoers file, and add the ilanni user. As follows:
650) This. width = 650; "Title =" clip_image002 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image002 "src =" http://img1.51cto.com/attachment/201408/27/526870_1409129856M5fg.png "width =" 441 "Height =" 146 "/>
650) This. width = 650; "Title =" clip_image003 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image003 "src =" http://img1.51cto.com/attachment/201408/27/526870_1409129856zpn3.png "width =" 741 "Height =" 327 "/>
After the configuration file is modified. If you execute the relevant sudo command again, the following error is returned:
650) This. width = 650; "Title =" clip_image004 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image004 "src =" http://img1.51cto.com/attachment/201408/27/526870_1409129857uI5m.png "width =" 733 "Height =" 222 "/>
Mud: [solution] Ubuntu prompts that ilanni is not in the sudoers file.