Re: [users@httpd] how to run a root programme from apache server

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

 



Arun Naik <arun.naik@xxxxxxxxxxxxxxxxxxxxxxx> writes:

> Hi,
> I have to run a program from apache server, whose owner is root. As apache
> server runs from user apache, it is not able to run the program ( owned by
> root). Is there any way out ?

Change the permissions on the file so Apache has permission to run it,
or make a copy with different permissions if you don't have control
over the original file.

If the program needs to run *as* root, it would need to be setuid,
which is very dangerous if not done with extraordinary care.

----Scott.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux