more Defaults types may be specified, separated by a comma
(`,'). The supported types are:
- global Defaults entries that always match.
+ all All Defaults entries.
+
+ global Gobal Defaults entries that are applied regardless
+ of user, runas, host or command.
user Per-user Defaults entries.
host Per-host Defaults entries.
- commands Per-command Defaults entries.
+ command Per-command Defaults entries.
See the D\bDe\bef\bfa\bau\bul\blt\bts\bs section in sudoers(4) for more information.
.RS 12n
.PD 0
.TP 10n
-global
-Defaults entries that always match.
+all
+All Defaults entries.
.PD
.TP 10n
+global
+Gobal Defaults entries that are applied regardless of
+user, runas, host or command.
+.TP 10n
user
Per-user Defaults entries.
.TP 10n
host
Per-host Defaults entries.
.TP 10n
-commands
+command
Per-command Defaults entries.
.PP
See the
.Pq Ql \&, .
The supported types are:
.Bl -tag -width 8n
+.It all
+All Defaults entries.
.It global
-Defaults entries that always match.
+Gobal Defaults entries that are applied regardless of
+user, runas, host or command.
.It user
Per-user Defaults entries.
.It runas
Per-runas user Defaults entries.
.It host
Per-host Defaults entries.
-.It commands
+.It command
Per-command Defaults entries.
.El
.Pp
debug_decl(cvtsudoers_parse_defaults, SUDOERS_DEBUG_UTIL)
for ((cp = strtok_r(cp, ",", &last)); cp != NULL; (cp = strtok_r(NULL, ",", &last))) {
- if (strcasecmp(cp, "global") == 0) {
+ if (strcasecmp(cp, "all") == 0) {
+ SET(flags, CVT_DEFAULTS_ALL);
+ } else if (strcasecmp(cp, "global") == 0) {
SET(flags, CVT_DEFAULTS_GLOBAL);
} else if (strcasecmp(cp, "user") == 0) {
SET(flags, CVT_DEFAULTS_USER);