Hello,
Thanks for all the info guys! I successfully made php use root user to
preform a few commands. I restricted root access to allow only a few
commands which were needed.
I'm doing my best to keep this thing as secure as possible which still
preforming the tasks that need to be done.
Tom
Hi Tom,
First of all due to the "risks" involved in doing something like
this.. are you sure you need to do this as root ?
Secondly, are you sure this script will not be accessible via an
apache server ? (i.e this is not inside your document root?)
Your best bet is to use sudo (man sudo, ma
Hello,
I'm in the process of executing system commands using php. The only problem
is that I am not entirely sure how to execute these system commands using
root user.
(I need root access to do a few things through php). Whenever I use the exec
command it uses the www user. Would anyone know? Th
3 matches
Mail list logo