Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jan 2010 14:09:29 -0500
From:      APseudoUtopia <apseudoutopia@gmail.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Security Hardening: Removing Permissions; Suggestions
Message-ID:  <27ade5281001071109m66eb5f83j6042ba5a19c3b443@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hey list,

I'm working on a shell script that basically removes the group and the
other permissions from certain files to harden my system. Right now,
the only files I'm doing this on is the GCC compiler collection. I'm
asking for suggestions on other files that these permissions can be
removed from in order to help further secure the system (a headless db
and web server).

$CHMOD o=,g= /usr/bin/cc
$CHMOD o=,g= /usr/bin/cpp
$CHMOD o=,g= /usr/bin/gcov
$CHMOD o=,g= /usr/bin/ld
$CHMOD o=,g= /usr/bin/gdb
$CHMOD o=,g= /usr/bin/c++

Thanks!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?27ade5281001071109m66eb5f83j6042ba5a19c3b443>