On Sun, Jul 3, 2011 at 12:40 AM, imduffy <imduffy15 at gmail.com> wrote:
> Just out of interest and on the topic of hardening. What do you recommend
> for partition mount points?
> At the moment I'm using the following:
> / errors=remount-ro
> /boot nodev,nosuid,nouser,auto
I wouldn't mount /boot, leave it umounted.
> /home relatime,nodev,nosuid,rw,nouser,auto
I would add noexec to /home unless they are people compiling code in
their homes that they need to execute.
> /usr relatime,nodev,rw,nouser,auto
I'd put a ro here since most of the time (excluding updates), you
shouldn't really need to have /usr writable.
Cheers,
Steph
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!