From beb820a1c929c11b4ded24869d462ecf5b63fc2a Mon Sep 17 00:00:00 2001 From: Aurélien DESBRIÈRES Date: Fri, 13 Jun 2014 18:50:39 +0200 Subject: lynis Security and system auditing tool to harden Unix/Linux systems --- pcr/lynis/lynis.install | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 pcr/lynis/lynis.install (limited to 'pcr/lynis/lynis.install') diff --git a/pcr/lynis/lynis.install b/pcr/lynis/lynis.install new file mode 100644 index 000000000..abdb081f1 --- /dev/null +++ b/pcr/lynis/lynis.install @@ -0,0 +1,8 @@ +pre_upgrade() { + chmod -R o= /usr/share/lynis + chmod 0755 /usr/share/lynis + # fix non-test includes to let lynis run as user but complain gracefully + chmod o+rx /usr/share/lynis/include + chmod o+r /usr/share/lynis/include/* + chmod o-r /usr/share/lynis/include/tests_* +} -- cgit v1.2.3-54-g00ecf