Re: How do I run a command as root?
| From: | Matthieu Le Corre | Date: | Mon, 02 Dec 2002 11:51:27 +0000 |
| Subject: | Re: How do I run a command as root? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-126697@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
the commande run y PHP on the server are run as the user which apache is
running as ...aka www or nobody in lot's of case ... so forget running a root
commande ( infac for security reason ... it's not very good :/ )
Le Lundi 2 Décembre 2002 10:44, Luke van Blerk a écrit :
> Hi
>
> I'm trying to find out how to run a command on the server as root. Does
> anybody know how to do this?
>
> Thanks
> Luke
- --
__________
/ Matthieu Le Corre
| Service Informatique
| ____________________
| Inspection Academique de la Sarthe
| 72000 LE MANS
| ____________________________
| Tel : 02 43 61 58 91
| Mail : Matthieu.lecorre@ac-nantes.fr
\____________________________________
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE960k/iQG6YxCcev4RAp5PAKCCFTNSZt53WTikYRIJSpR/2Ra84ACfR/0K
nrqZuoXNcuu1GWy99XVu7fs=
=Y7GA
-----END PGP SIGNATURE-----