Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 655 Bytes

Linux[sudoer配置].md

File metadata and controls

21 lines (15 loc) · 655 Bytes

Table of Contents generated with DocToc

Linux 配置sudoer

文件位置: /etc/sudoers

文件内容:

## Allow root to run any commands anywhere
## 允许用户执行root命令
root    ALL=(ALL)       ALL
## 允许用户在不输入密码的情况下执行root命令
ran     ALL=(ALL)       NOPASSWD:ALL