Re: How to execute script as root
| From: | jeremy brand | Date: | Tue, 28 Nov 2000 03:46:01 +0000 |
| Subject: | Re: How to execute script as root | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-27538@lists.php.net to get a copy of this message | ||
You could setuid root your binaries that you need to run as root.
-jeremy brand
Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: jeremy@nirvani.net
http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html
for more
- - - - - - - - - - - - - - - - - - - - - - - - -
"We're all Linux all the time, and very proud of it"
Jim Reese, Chief Operations Engineer, Google.com
On Tue, 28 Nov 2000, CHIU, Jonathan wrote:
> Date: Tue, 28 Nov 2000 11:44:24 +0800
> From: "CHIU, Jonathan" <jonathan.chiu@hk.origin-it.com>
> To: php-general@lists.php.net
> Subject: [PHP] How to execute script as root
>
> Hi,
>
> I want to use our web-email client (written in php) to provide on-line
> account creation service which involves to execute a script to create user
> account in FreeBSD. I think exec() will not do the trick. Can anyone give
> me some insights?
>
> Thanks.
>
> Jonathan
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>