No matter how secure you think you are, that'll change as soon as
someone else logs in to your machine, even to do some legit work. Having
your web files owned by the same user that runs Apache will allow a
remote user to exploit a bug and erase all those nobody:nobody files..
Donncha.
Michael Turley wrote:
>> Something I've often meant to find out...
>> Say you have a fairly secure apache installation
> (.htaccess disallowed, no cgi/scriptalias, no ssi,
> etc.) running as user nobody why is it a bad idea to
> have files under the doc root owned by nobody (perms
> 644)? I assume its because anybody can su to user
> nobody if they have a shell. Is there another reason?
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!