|
2 | 2 | .\" |
3 | 3 | .\" SPDX-License-Identifier: ISC |
4 | 4 | .\" |
5 | | -.\" Copyright (c) 1994-1996, 1998-2005, 2007-2024 |
| 5 | +.\" Copyright (c) 1994-1996, 1998-2005, 2007-2025 |
6 | 6 | .\" Todd C. Miller <[email protected]> |
7 | 7 | .\" |
8 | 8 | .\" Permission to use, copy, modify, and distribute this software for any |
|
25 | 25 | .nr BA @BAMAN@ |
26 | 26 | .nr LC @LCMAN@ |
27 | 27 | .nr PS @PSMAN@ |
28 | | -.TH "SUDOERS" "@mansectform@" "November 11, 2024" "Sudo @PACKAGE_VERSION@" "File Formats Manual" |
| 28 | +.TH "SUDOERS" "@mansectform@" "February 14, 2025" "Sudo @PACKAGE_VERSION@" "File Formats Manual" |
29 | 29 | .nh |
30 | 30 | .if n .ad l |
31 | 31 | .SH "NAME" |
@@ -1357,14 +1357,16 @@ It is not an error to use the |
1357 | 1357 | operator to remove an element |
1358 | 1358 | that does not exist in a list. |
1359 | 1359 | .PP |
1360 | | -Defaults entries are parsed in the following order: global, host, |
1361 | | -user, and runas Defaults first, then command defaults. |
1362 | | -If there are multiple Defaults settings of the same type, the last |
1363 | | -matching setting is used. |
1364 | | -The following Defaults settings are parsed before all others since |
1365 | | -they may affect subsequent entries: |
| 1360 | +In general Defaults settings are applied in order, later entries |
| 1361 | +will override earlier ones. |
| 1362 | +However, command-specific Defaults settings are applied later, once |
| 1363 | +the command's path is known. |
| 1364 | +In addition, the following Defaults settings must be applied before |
| 1365 | +all others since they may affect subsequent entries: |
1366 | 1366 | \fIfqdn\fR, |
1367 | 1367 | \fIgroup_plugin\fR, |
| 1368 | +\fIignore_unknown_defaults\fR, |
| 1369 | +\fImatch_group_by_gid\fR, |
1368 | 1370 | \fIrunas_default\fR, |
1369 | 1371 | \fIsudoers_locale\fR. |
1370 | 1372 | .PP |
|
0 commit comments