What is sudo permission, online is a lot of
Mainly because the root authority is too large, afraid of the wrong operation, so sudo permissions appear, of course, I personally see the online documentation is said
Configuration environment: Centos7
First log in to the system with root privileges
Then configure the sudoers file under the ETC directory
Then first give the sudoers file, write the permission, chmod o+w/etc/sudoers
Why write permission, because there is no permission to write, and so on can not save, tell the novice listen to, the great God skipped
And then we use VI to open the sudoers file.
We'll find it when we open it.
Root all= (All) all
This line
And then add the following under it
"User name" all= (All) all
That's probably it.
OK, then we're under permission, chmod o-w sudores.
Why do you want to under permission, because no permissions, wait for sudo, there will be an error
Let's test it out for ourselves.
Configure sudo permissions on Linux for the first time