Current state of Sharingan role -- still need to add rkhunter

此提交包含在:
2022-05-02 15:00:29 -05:00
父節點 1c2f4266ad
當前提交 d0146770a4
共有 45 個檔案被更改,包括 4004 行新增46 行删除

查看文件

查看文件

@@ -0,0 +1,14 @@
[Unit]
Description=Sharingan-IDS | Freshclam service
[Service]
Nice=19
IOSchedulingClass=best-effort
IOSchedulingPriority=7
Type=simple
ExecStart=freshclam
User=root
group=root
[Install]
WantedBy=multi-user.target

查看文件

@@ -0,0 +1,11 @@
[Unit]
Description=Sharingan-IDS | Update AV definitions
[Timer]
OnCalendar=14:00
Persistent=false
[Install]
WantedBy=timers.target
#EOF

查看文件

@@ -0,0 +1,14 @@
[Unit]
Description=Sharingan-IDS | rkhunter HIDS
[Service]
Nice=19
IOSchedulingClass=best-effort
IOSchedulingPriority=7
Type=simple
ExecStart=rkhunter --check --sk
User=root
group=root
[Install]
WantedBy=multi-user.target

查看文件

@@ -0,0 +1,11 @@
[Unit]
Description=Sharingan-IDS | rkhunter timer
[Timer]
OnCalendar=15:00
Persistent=false
[Install]
WantedBy=timers.target
#EOF