|
Bugzilla – Full Text Bug Listing |
| Summary: | sudo -l does not seem to process access via LDAP after upgrade to 1.9.15 | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | Ben Tucci <btucci1> |
| Component: | Sudo | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | low | ||
| Version: | 1.9.15 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
|
Description
Ben Tucci
2023-12-14 15:54:21 MST
Sorry about a mistake in my report, the last line should read "my host on the new version." We're looking to have list be passwordless and only noticed the change when an automated process could no longer run this command. Following is the output of -ll on the same user object on the same host.
LDAP Role: <defined ldap role>
RunAsUsers: ALL
Commands:
ALL
Is it only "sudo -l" that is affected? In other words, is the user able to run commands via sudo successfully? There was a bug in sudo 1.9.15 that prevented sudo from reading the ldap.conf file but that was fixed in 1.9.15p1. The actual running of commands is unaffected (as in, we can run allowed commands as the user allowed to run these commands, as well as running arbitrary commands with ALL:ALL.) Only listing those commands runs into the issue; as a consuming application uses this to determine if it has the proper rights before running allowed commands before running them. Fixed in sudo 1.9.15p4, available now. |