Re: Re: I can't execute pf commands

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If you want to execute shell commands as root theres another solution too

try this:

shell_exec('sudo -u root ls -l /var/tmp')

but the solution Of shawn is better then it will not needed to set it again
in another commands

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux