Business_Woman said:
Hi,
I have a question regarding the added security of service jails.
How much more secure is it? And as far as i understand, setting up service jails can be a bit tricky. Is the added security worth the added complexity?
And if the host system is compromised aren't you phucked anyways?
Thoughts?
absolutely worth it.
you can mount your jails nullfs and readonly (for the base system) which adds an extra layer of security. jails are REALLY easy to use with the ezjails ports, and are EXCELLENT.
They allow you to do so much more...lets say you want to try something new, if you do it in a jail, and it goes wrong or gets entirely screwed up, you don't need to reinstall your system, just delete the jail.
Or, lets say you have a server and you want to let a friend run a website on it, you could give him a jail, and allow him root access to that jail and not worry that he borks your entire install.
I typically run multiple jails. On one system i have, i have a jail for mysql, then several jails for different websites, a jail for an email server, and a jail for irc.
I can allow different people access to different jails without having to worry about them accessing files they shouldn't see. It's wonderful.