Re: "setuid(UID)" and "chmod 4550" misbehaving
From: John Summerfield (debian_at_ComputerDatasafe.com.au)
Date: Tue, 22 Jun 2004 08:41:30 +0800 To: firstname.lastname@example.org
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?
-- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact email@example.com