Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f19c39e commit 89b2d40Copy full SHA for 89b2d40
fabfile.py
@@ -18,6 +18,7 @@
18
import licensify
19
import mongo
20
import puppet
21
+import rkhunter
22
import search
23
import vm
24
rkhunter.py
@@ -0,0 +1,10 @@
1
+from fabric.api import *
2
+
3
+@task(default=True)
4
+def check(*args):
5
+ """Run rkhunter on the machine"""
6
+ sudo('/usr/bin/rkhunter --cronjob --report-warnings-only --appendlog')
7
8
+def propupdate(*args):
9
+ """Update rkhunter file property database on the machine"""
10
+ sudo('/usr/bin/rkhunter --propupdate')
0 commit comments