|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today! |
|
#1
|
|||
|
|||
|
help php root
Hi, i'm building a web administration tool for linux, it will be something similar to webmin. I'm writing the code in php and the scripts need to run commands like adduser and write to files like smb.conf wich requires root access.What is the best way to go about this ?
The administrator logs on to the web page and it's powerd by apache with ssl for extra security. Hope someone can help |
|
#2
|
|||
|
|||
|
RE: help php root
Can you su from system() or exec()?
Maybe ... maybe not. |
|
#3
|
|||
|
|||
|
RE: help php root
Run your PHP/Apache as root
Don't know how to do, but it's explained on www.php.net |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Coding > help php root |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|