sudo ignores child return code
Radovan Sroka <[email protected]>
| Newsgroups | gmane.comp.tools.sudo.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Todd, I found regression in sudo behavior, It's reproducible on recent sudo-1.8.18b2. When you have a script which refers to non existing interpreter like: $ cat test.sh #/bin/asdsadsa #useless script $ chmod u+x test.sh Sudo executes this command and it should fail. $ sudo ./test.sh But Sudo returns 0. --------------------------------------------------------- Radovan Sroka Security Technologies | Red hat, Inc. ____________________________________________________________ sudo-workers mailing list <[email protected]> For list information, options, or to unsubscribe, visit: https://www.sudo.ws/mailman/listinfo/sudo-workers