sudo configration

to access the configure file :  sudo visudo 

https://www.garron.me/en/linux/visudo-command-sudoers-file-sudo-default-editor.html

 

root ALL=(ALL) ALL

This line means: The root user can execute from ALL terminals, acting as ALL (any) users, and run ALL (any) command.

The first part is the user, the second is the terminal from where the user can use sudo command, the third part is which users he may act as, and the last one, is which commands he may run when using sudo.

posted @ 2018-04-16 04:29  anyu686  阅读(105)  评论(0编辑  收藏  举报