1 (edited by Bronko 2023-11-17 04:01:46)

Topic: user=fail2ban - SQL database account PASSWORD ???

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.5
- Deployed with iRedMail downloadable installer
- Linux/BSD distribution name and version: ubuntu 22.04.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====


Unfortunately I deleted all .my.cnf* files at /root folder, but restored it from a test installation and changed the passwords in there from iRedMail.tips.

But no SQL database account Username: fail2ban with Password in iRedMail.tips because of missing some 'cat >> ${TIP_FILE}' in /functions/fail2ban.sh at iRedMail installation script.

Need it for:

.my.cnf-fail2ban

Every minute I get an error email:

ERROR 1045 (28000): Access denied for user 'fail2ban'@'localhost' (using password: YES)

(for now crontab disabled temporarily)

Any chance to restore PASSWORD for sql user: fail2ban without hashcat or how to change the password?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: user=fail2ban - SQL database account PASSWORD ???

Did find it in file:

/root/iRedMail-'version'/config

Closed...