Under Webmin / Webmin Configuration / Authentication - The option for Log failures to syslog is missing, this is a clean installation with very few changes made.
Currently, failed logins to webmin/usermin are not being captured to ANY log file under Almalinux 10, this is preventing Fail2Ban from tracking them. I have troubleshooted this with chatgpt and out of options other than reporting this as a bug.
aha I found a logfile - /var/webmin/webmin.log
That has just the failed login attempts and very little else. Not sure why these auth logs are not where Fail2Ban would expect them. Someone might want to take a detailed look at the logging on Alma 10.0
You donât need to install the rsyslog package! If you enabled logging to syslog using the âAlso log Webmin actions to syslogâ option on the âWebmin ⟠Webmin Configuration: Loggingâ page, it will log to the journal, e.g.:
~# journalctl -f -u webmin
Sep 23 02:52:35 host.rocky9-pro.virtualmin.dev webmin[10716]: Invalid login as root from 10.211.55.2
Fail2ban works with this setup just fine!
However, I believe the option name shouldnât point directly to syslog. We should change it, @Jamie. Letâs call it something that wonât make users think they need to install syslog.
Just did a clean VM with Alma 10, ran dnf update - rebooted and did a clean webmin install and same experience, nothing showing under âjournalctl -f -uâ except for service starting and stopping.
Option is entirely missing under Alma 10. In the .conf file i have syslog=1 set, but it makes no difference. Installation was from the Alma 10 Minimal ISO, not sure that if that makes a difference?