Page 1 of 1

csf ssh log path almalinux 8.4

Posted: 15 Sep 2021, 09:38
by ale-ab
Hello,
i have a new vps with almalinux 8.4 and install csf firewall.
works fine but not block attack on ssh.

i check and found on almalinux there isn't a file
/var/log/secure
(like centos 7).

searching i found that centos 8 / almalinux 8 use journalctl
so if i run in ssh
journalctl _COMM=sshd
i found error (like old log files)

so what i write in /etc/csf/csf.conf
SSHD_LOG = .... ????

thank you

Re: csf ssh log path almalinux 8.4

Posted: 15 Sep 2021, 10:01
by ale-ab
sorry,
i forget to install rsyslog ...

i installed with
dnf install rsyslog

reboot

and now works fine

thank you