Commit db3a6b3
committed
Skip the Files Sudo Ignores When Naming a Timestamp Override
The scan for a timestamp option set elsewhere read every file under /etc/sudoers.d, including the ones sudo skips: a name holding a dot, and a name ending in a tilde. This run's own staged file is dot-prefixed, so a leftover from a killed run would be named as an override that sudo never reads.1 parent 6048cdd commit db3a6b3
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1111 | 1111 | | |
1112 | 1112 | | |
1113 | 1113 | | |
| 1114 | + | |
1114 | 1115 | | |
1115 | | - | |
| 1116 | + | |
| 1117 | + | |
1116 | 1118 | | |
1117 | 1119 | | |
1118 | 1120 | | |
| |||
0 commit comments