|
Bugzilla – Full Text Bug Listing |
| Summary: | sudoedit doesn't work at all in AIX since at least sudo.1.8.9.4 | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | Davide <david> |
| Component: | Sudo | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | asachan4 |
| Priority: | low | ||
| Version: | 1.8.10 | ||
| Hardware: | PC | ||
| OS: | AIX | ||
| Attachments: | Avoid using /proc on AIX to determine program name | ||
|
Description
Davide
2014-07-25 04:11:43 MDT
Confirmed on AIX 5.3, it looks like the it is not properly matching on the program name, However, I also see a hang with "sudo -e filename" which will also need to be fixed. Created attachment 415 [details]
Avoid using /proc on AIX to determine program name
The problem is that on AIX when you get the executable name via /proc and you executed a symbolic link, it gives you the link target and not the name of the link itself.
The hang I was seeing is only when debugging is enabled via sudo.conf so it should affect you. The attached patch should be sufficiet. As a workaround you can just use "sudo -e" instead of sudoedit. This will be fixed in sudo 1.8.11. For the time being, if you replace the sudoedit symbolic link with a hard link it will work as expected. *** Bug 659 has been marked as a duplicate of this bug. *** Fixed in sudo 1.8.11. |