Will Trillich wrote:
TASK: allow USER1 to run a program AS USER2. SOLUTION: setuid bit (in theory, right?) PROBLEM: theory not matching execution... we've got a little C program that must be RUN AS a certain user (cyrus) BY another user (www-data) so we figured turning on the SETUID bit would work:
Why would you not use sudo?