Free adhesion of ubuntu sudo

Free and adhesion of ubuntu sudo centos similar, are added in the user information / etc / sudoers, the added content is the same, but the position is not the same.

centos position as follows:

And ubuntu position as follows:

In addition, two lines exactly.

Note: the NOPASSWD: ALL the middle of a space -

Then you can change the average user so as not to close to the root.

Guess you like

Origin www.cnblogs.com/young233/p/11879261.html