|
Bugzilla – Full Text Bug Listing |
| Summary: | sudo /bin/ls failes on directories where root does not have permissions and NOEXEC is set | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | Svein Olav Bjerkeset <sudo-bug> |
| Component: | Sudo | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | low | ||
| Version: | 1.8.7 | ||
| Hardware: | Sun | ||
| OS: | Solaris 2.x | ||
| Attachments: | Workaround for solaris noexec problem | ||
|
Description
Svein Olav Bjerkeset
2013-12-02 08:34:47 MST
It looks like the PRIV_PROC_EXEC permission is disabling more than just execution of subcommands and is affecting DAC file permissions too. As a workaround you should be able to edit config.h and comment out the line: #define HAVE_PRIV_SET 1 and rebuild sudo. Created attachment 389 [details]
Workaround for solaris noexec problem
I'm not sure why this would be required but the attached patch seems to work around the issue.
I have tried the supplied patch, and can comfirm that it worked. Sudo 1.8.9 is now out and contains the workaround. |