chroot, performance & security

[ Available lists | Index of freebsd-questions | Month of Dec 2006 | Week of 27 Dec 2006 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
VeeJay <maanjee@gmail.com>
Date
27 Dec 2006 09:16:32
Subject
chroot, performance & security
Message-ID
2cd0a0da0612270116s528eaad5v73ed7d1447feda63@mail.gmail.com

Referenced by

[ Hide this part ]
Hi

I have made partations on my web server like at very outer edges of the
disks,

I have /, then /var, /tmp, /usr and in the end /home.

Since I read that Data modified & used often should be placed at close to
outer edges as possible.

So, I am having all logs (apache, ftp, mysql and other logs) under /var/logs
I have all my mysql DBs under /var/mysql/db

But if for Security reseasons, I want to chroot apache, mysql and ftp under
/home, then along with all executables and liberaries I have to move all
logs, DBs under /home/chroot

But then I think, If I move all these data from /var... I miss performance?

Please comment?

--
Thanks!

BR / vj


Elapsed time: 0.086 seconds