Current state of Sharingan role -- still need to add rkhunter
此提交包含在:
@@ -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
|
||||
新增問題並參考
封鎖使用者