News for hackers. Stuff that matters.
Re:Dd is not a disk writing tool (2015) by TheCoelacanth on Sunday January 08, 2017 @03:42PM (#13351875)
The shell wouldn't need to be setuid if it just performed a syntax transformation and then called the existing sudo binary.
Re:Dd is not a disk writing tool (2015) by JoshTriplett on Sunday January 08, 2017 @06:24PM (#13352741)
Exactly. The shell would just treat "sudo" as a builtin prefix similar to "time", but would then run the real "sudo" with an appropriate shell invocation and proper quoting.