yes i've looked at sudo but for some reason, when I use sudo in a php script, the messages file shows the sudo command failing, I believe it was because sudo only works on a std term.
If this is not the case, I would be delighted. On Thu, Dec 18, 2003 at 12:31:23 +0000, pete M wrote: > Have u looked at "sudo" and "sudoers" > > http://www.courtesan.com/sudo/ > http://www.courtesan.com/sudo/man/sudoers.html > > regards > pete > > > > Mat Harris wrote: > > Hi, > > I am building a web interface to the vacation autoresponder program on linux. > > > > I let users login, edit their message and enable the autoresponder. > > > > The last step (enabling) is where the fun begins because php is run as apache on > > my box, and each users' .vacation.msg and .forward are not owned by apache. > > > > So you say, ok lets make apache run as group 'vacation' and also change the > > ownership > > on .vacation.msg and .forward. > > > > Well this makes sendmail cry out because it doesn't like having group-writable > > .forward > > files. > > > > > > How would you guys suggest i did this? > > > > I can post code if required. > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- Mat Harris Network/Systems Administrator Genestate
pgp00000.pgp
Description: PGP signature