Do not use sudo when echo

This commit is contained in:
knqyf263
2017-02-09 17:43:15 +09:00
parent 1730caf124
commit e743177ae6
4 changed files with 9 additions and 19 deletions

View File

@@ -609,9 +609,9 @@ configtest:
And also, configtest subcommand checks sudo settings on target servers whether Vuls is able to SUDO with nopassword via SSH.
Example of /etc/sudoers on target servers
- CentOS, RHEL (CentOS 5 needs also `/bin/echo`)
- CentOS, RHEL
```
vuls ALL=(root) NOPASSWD: /usr/bin/yum (, /bin/echo)
vuls ALL=(root) NOPASSWD: /usr/bin/yum
```
- Ubuntu, Debian
```