Re: Re: php special permissions
| From: | Mat Harris | Date: | Thu, 18 Dec 2003 12:39:37 +0000 |
| Subject: | Re: Re: php special permissions | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-172937@lists.php.net to get a copy of this message | ||
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