From: Kevin Z. <kev...@gm...> - 2018-09-22 15:47:43
|
On 9/18/18 5:57 AM, Christopher Engelhard wrote: > I'm trying to install sshguard to a non-standard location and stumbled > upon the following problem: When setting the location using ./configure > --prefix=<location>, sshguard installs to the specified path, but when > executed looks for the sshg-...-binaries in /usr/local/libexec > nonetheless. The same happens when the various paths are specified > individually via --libexecdir=... etc. This appears to exclusively > affect libexecdir, not e.g. sysconfdir. > > Running sshguard-2.2.0 on Fedora Server 28 > Steps to reproduce: > 1) Run ./configure --prefix=/opt && make && make install > 2) copy example config file to /opt/etc/sshguard.conf and set backend > 3) execute /opt/sbin/sshguard > > SSHGuard will fail with the following error: > "sshguard: '/usr/local/libexec/sshg-fw-iptables' is not executable" Could you show your sshguard.conf? I suspect what happened here is that you uncommented the default BACKEND without changing it. -- Kevin Zheng kev...@gm... | ke...@be... | PGP: 0xC22E1090 |