Re: [PHP] becoming root user within php

2005-07-27 Thread Tom Cruickshank
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

Re: [PHP] becoming root user within php

2005-07-26 Thread Vidyut Luther
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