root has only bash shell. When run as non-root user we get similar message: $ iptables -N f2b-ssh-iptables iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root) Perhaps iptables or your kernel needs to be upgraded. $
Is it some where there is permission issue, even we run as root? Not sure how to determine that, all files permissions and owner are by root though. Compared with working system. Any insight will help a lot. Thank you, Anil. On Fri, Oct 23, 2015 at 12:37 AM, Iosif Fettich <[email protected]> wrote: > Hi, > >> When those commands are done by hand it works as shown below. While >> running as automatically using fail2ban, the service is started as >> root as well. I see all fail2ban, iptables, python files are owned by >> root as well. > > > Maybe there's another shell defined for that user? > > I'd try to find a way to reproduce the error seen in the log file. > > Best regards, > > Iosif Fettich ------------------------------------------------------------------------------ _______________________________________________ Fail2ban-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fail2ban-users
