Execute a command as a different user

Discussion in 'PHP' started by silv3r.m00n, Jun 30, 2010.

  1. #1
    Hi

    Inside php I am using exec/system function to run a command.
    I want to run the command as a different user than what PHP is running as.
    How can I do this ?
     
    silv3r.m00n, Jun 30, 2010 IP
  2. Kaimi

    Kaimi Peon

    Messages:
    60
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Kaimi, Jun 30, 2010 IP