diff options
author | Aurélien DESBRIÈRES <aurelien@hackers.camp> | 2014-06-13 18:50:39 +0200 |
---|---|---|
committer | Aurélien DESBRIÈRES <aurelien@hackers.camp> | 2014-06-13 18:50:39 +0200 |
commit | beb820a1c929c11b4ded24869d462ecf5b63fc2a (patch) | |
tree | 986bab23cce2aea35d028fbc48b921cce40aeb41 /pcr/lynis/lynis.install | |
parent | 05477046ce09b63e1b2d280d03d39ea9f2ce03ff (diff) | |
download | abslibre-beb820a1c929c11b4ded24869d462ecf5b63fc2a.tar.gz abslibre-beb820a1c929c11b4ded24869d462ecf5b63fc2a.tar.bz2 abslibre-beb820a1c929c11b4ded24869d462ecf5b63fc2a.zip |
lynis Security and system auditing tool to harden Unix/Linux systems
Diffstat (limited to 'pcr/lynis/lynis.install')
-rw-r--r-- | pcr/lynis/lynis.install | 8 |
1 files changed, 8 insertions, 0 deletions
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_* +} |