Click to See Complete Forum and Search --> : How to make Apache not being accesed even by root?


bazoukas
12-01-2003, 08:35 AM
Hi there.
I want to do a setup in my machine that not even root will be able to start them.
For example, I want apache to belong to user [i]blabla[/] and group [i]bleble[/] that I made so not even root will be able to execute apache. I experimented by setting the apache bin file permissions to

owner:www-data
group:www-data

but still I could launch apache as root. I rght clicked in kde on the file to make sure I have my permisions as described and everything looked fine "others" were not selected...but still root could execute apache.

:confused: help please :confused:

bazoukas
12-01-2003, 09:42 AM
nevermind.
root is GOD. :p
I guess there is no way to do that since with root you control everything.

bwkaz
12-03-2003, 11:00 PM
Root ignores permission bits. Even if root doesn't have permission according to the bits, he does. ;)

The only exception is execute. If no one has execute permission (for instance, if the permissions are 644), then root won't either. But if anyone at all does have execute permission, so does root.

Like you said, root is god. :D