Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199908

Re: [PHP3] "suexec" for php? From: Darrell Brogdon (dbrogdon <email protected>)
Date: 08/11/99

Install sudo, create a special user and make sure that user only has
permission to run your scripts with a NOPASSWD: flag in the sudoers. Then
they can be run from that special users cron.

-Darrell

----- Original Message -----
From: Sandino Araico Sanchez <sandino <email protected>>
To: Jason Haar <jhaar <email protected>>
Cc: <php3 <email protected>>
Sent: Wednesday, August 11, 1999 7:46 PM
Subject: Re: [PHP3] "suexec" for php?

> Jason Haar wrote:
>
> > You wrote:
> > > Well, first, you have to be able to run php scripts as root -> will
> > > be difficult from apache, because it doesn't want to start
virtualserver
> > > with Username root for (good) security reasons... Probably with some
suid
> > > progs it would work.
> >
> > That's not what I meant. I mean use PHP as a Unix tool - not a Web tool.
I
> > have tonnes of perl scripts (and shell scripts for that matter) that are
> > used via cron - PHP could do most of them too.
>
> You can run the php scripts you need from the root's crontab, this way you
don't
> need to worry about making php suexec.
>
> >
> >
> > --
> > Cheers
> >
> > Jason Haar
> >
> > Unix/Network Specialist, Trimble NZ
> > Phone: +64 3 3391 377 Fax: +64 3 3391 417
> >
> >
> > --
> > PHP 3 Mailing List <http://www.php.net/>
> > To unsubscribe, send an empty message to php3-unsubscribe <email protected>
> > To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
> > To search the mailing list archive, go to:
http://www.php.net/mailsearch.php3
> > To contact the list administrators, e-mail: php-list-admin <email protected>
>
> --
> Sandino Araico Sánchez
> El envejecimiento de las células puede estar provocado por
> el contínuo desgaste de los telómeros en cada mitosis.
>
>
>
>
> --
> PHP 3 Mailing List <http://www.php.net/>
> To unsubscribe, send an empty message to php3-unsubscribe <email protected>
> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
> To search the mailing list archive, go to:
http://www.php.net/mailsearch.php3
> To contact the list administrators, e-mail: php-list-admin <email protected>
>

-- 
PHP 3 Mailing List <http://www.php.net/>
To unsubscribe, send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
To contact the list administrators, e-mail: php-list-admin <email protected>