36 lines
2.3 KiB
Plaintext
36 lines
2.3 KiB
Plaintext
2026-04-05 21:49:29 | INFO | [1/1] Utilitaires pratiques
|
|
2026-04-05 21:49:29 | INFO | Commande: sudo apt-get update
|
|
2026-04-05 21:49:29 | INFO | [dry-run] sudo apt-get update
|
|
2026-04-05 21:49:29 | INFO | Commande: sudo systemctl enable --now fail2ban.service
|
|
2026-04-05 21:49:29 | INFO | [dry-run] sudo systemctl enable --now fail2ban.service
|
|
2026-04-05 21:49:29 | INFO | Commande: sudo systemctl disable --now avahi-daemon
|
|
2026-04-05 21:49:29 | INFO | [dry-run] sudo systemctl disable --now avahi-daemon
|
|
2026-04-05 21:49:29 | INFO | Commande: sudo systemctl enable --now apparmor
|
|
2026-04-05 21:49:29 | INFO | [dry-run] sudo systemctl enable --now apparmor
|
|
2026-04-05 21:49:29 | INFO | Commande: sudo systemctl enable --now clamav-freshclam
|
|
2026-04-05 21:49:29 | INFO | [dry-run] sudo systemctl enable --now clamav-freshclam
|
|
2026-04-05 21:49:29 | INFO | Commande: sudo systemctl enable --now clamav-daemon
|
|
2026-04-05 21:49:29 | INFO | [dry-run] sudo systemctl enable --now clamav-daemon
|
|
2026-04-05 21:49:29 | INFO | Commande: sudo aideinit
|
|
2026-04-05 21:49:29 | INFO | [dry-run] sudo aideinit
|
|
2026-04-05 21:49:29 | INFO | Commande: sudo systemctl enable --now aidecheck.timer
|
|
2026-04-05 21:49:29 | INFO | [dry-run] sudo systemctl enable --now aidecheck.timer
|
|
2026-04-05 21:49:29 | ERROR | Task failed: utilities_setup
|
|
Traceback (most recent call last):
|
|
File "/home/tuxgyver/scripts/securecheck/securecheck/executor.py", line 350, in execute_tasks
|
|
result = task.handler(context)
|
|
File "/home/tuxgyver/scripts/securecheck/securecheck/tasks.py", line 554, in <lambda>
|
|
handler=lambda context, _task=task, _func=func: _func(context, _task),
|
|
~~~~~^^^^^^^^^^^^^^^^
|
|
File "/home/tuxgyver/scripts/securecheck/securecheck/tasks.py", line 418, in utilities_setup
|
|
if wazuh_conf.exists():
|
|
~~~~~~~~~~~~~~~~~^^
|
|
File "/usr/lib/python3.13/pathlib/_abc.py", line 450, in exists
|
|
self.stat(follow_symlinks=follow_symlinks)
|
|
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
File "/usr/lib/python3.13/pathlib/_local.py", line 517, in stat
|
|
return os.stat(self, follow_symlinks=follow_symlinks)
|
|
~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
PermissionError: [Errno 13] Permission denied: '/var/ossec/etc/ossec.conf'
|
|
2026-04-05 21:49:29 | ERROR | -> ECHEC: [Errno 13] Permission denied: '/var/ossec/etc/ossec.conf'
|