visudo to report an error.
Defaults syslog=local6
Defaults syslog=local7
-Defaults syslog_goodpri
Defaults !syslog_goodpri
Defaults syslog_goodpri=alert
Defaults syslog_goodpri=crit
Defaults syslog_goodpri=warning
Defaults syslog_goodpri=none
-Defaults syslog_badpri
Defaults !syslog_badpri
Defaults syslog_badpri=alert
Defaults syslog_badpri=crit
{ "syslog": "local7" }
]
},
- {
- "Options": [
- { "syslog_goodpri": true }
- ]
- },
{
"Options": [
{ "syslog_goodpri": false }
{ "syslog_goodpri": "none" }
]
},
- {
- "Options": [
- { "syslog_badpri": true }
- ]
- },
{
"Options": [
{ "syslog_badpri": false }
sudoOption: syslog=local5
sudoOption: syslog=local6
sudoOption: syslog=local7
-sudoOption: syslog_goodpri
sudoOption: !syslog_goodpri
sudoOption: syslog_goodpri=alert
sudoOption: syslog_goodpri=crit
sudoOption: syslog_goodpri=notice
sudoOption: syslog_goodpri=warning
sudoOption: syslog_goodpri=none
-sudoOption: syslog_badpri
sudoOption: !syslog_badpri
sudoOption: syslog_badpri=alert
sudoOption: syslog_badpri=crit
-Parses OK (problem with defaults entries).
+Parses OK.
Defaults syslog
Defaults !syslog
Defaults syslog=local5
Defaults syslog=local6
Defaults syslog=local7
-Defaults syslog_goodpri
Defaults !syslog_goodpri
Defaults syslog_goodpri=alert
Defaults syslog_goodpri=crit
Defaults syslog_goodpri=notice
Defaults syslog_goodpri=warning
Defaults syslog_goodpri=none
-Defaults syslog_badpri
Defaults !syslog_badpri
Defaults syslog_badpri=alert
Defaults syslog_badpri=crit
DEFAULTS DEFVAR = WORD(2)
DEFAULTS DEFVAR = WORD(2)
-DEFAULTS DEFVAR
DEFAULTS !DEFVAR
DEFAULTS DEFVAR = WORD(2)
DEFAULTS DEFVAR = WORD(2)
DEFAULTS DEFVAR = WORD(2)
DEFAULTS DEFVAR = WORD(2)
-DEFAULTS DEFVAR
DEFAULTS !DEFVAR
DEFAULTS DEFVAR = WORD(2)
DEFAULTS DEFVAR = WORD(2)
DEFAULTS DEFVAR = WORD(2)
DEFAULTS DEFVAR = WORD(2)
DEFAULTS DEFVAR = WORD(2)
-testsudoers: sudoers:16 no value specified for "syslog_goodpri"
-testsudoers: sudoers:28 no value specified for "syslog_badpri"