I would like managers at our company to be able to unban IP addresses without the aid of system tech. I built a simple PHP page for this. It works fine as long as I adjust permissions on selected fail2ban files for socket and pid. I notice the permissions are reset upon update/reboot. I realize that is a security safeguard.
My question is this: is there a way to invoke the fail2ban-client methods from the a web page in a safe fashion?