>>> Linux tutorial directory <<<
Permission management-4.1 system command sudo permissions
Write in the front: If you finish the inspection by yourself, there may be some mistakes. If you find something wrong, you can leave a message or private message me below.
1. sudo permissions
-
root it should only be executed by the super user to give ordinary users to execute
-
sudo operates on system commands
2. Use sudo
3. Authorize zxx users to restart the server
4. Ordinary users execute commands given by sudo
-
sudo -l
-
sudo /sbin/shutdown -r now
-
Note: vim must not be given to ordinary users, otherwise any file can be modified
Write in the back: I hope these explanations will be helpful to you, I hope everyone will like and pay attention to it. Your support is my biggest motivation (๑> <๑)