|
Bugzilla – Full Text Bug Listing |
| Summary: | sudoedit doesn't drop privileges when sudoers entry has leading path | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | bstapes.bugzilla |
| Component: | Sudo | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | security | ||
| Priority: | normal | ||
| Version: | 1.8.23 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Attachments: | Patch to treat fully-qualified path to sudoedit as plain sudoedit | ||
|
Description
bstapes.bugzilla
2019-02-10 23:38:08 MST
*** Bug 906 has been marked as a duplicate of this bug. *** Created attachment 534 [details]
Patch to treat fully-qualified path to sudoedit as plain sudoedit
In the past I've treated this as simple user error but the problem is clearly not going away on its own.
I think there are three things to be done here:
1) If the user runs "sudo sudoedit" sudo should treat it as just "sudoedit"
2) If the admin specifies a fully-qualified path for sudoedit in sudoers, sudo should treat it as just "sudoedit" and carry on
3) In visudo (but not sudo), #2 above should be treated as an error
Thank you! Fixed in sudo 1.8.30 |