Re: "setuid(UID)" and "chmod 4550" misbehaving

From: John Summerfield (debian_at_ComputerDatasafe.com.au)
Date: 06/22/04

  • Next message: Greg Madden: "Re: Hard Drive Limitations"
    Date: Tue, 22 Jun 2004 08:41:30 +0800
    To: debian-user@lists.debian.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 listmaster@lists.debian.org
    

  • Next message: Greg Madden: "Re: Hard Drive Limitations"

    Relevant Pages