On Tue, Sep 20, 2005 at 11:11:59PM -0400, Yaroslav Halchenko wrote:
  
>  Although I don't mind additing full path for the config file shipped
>  with the package, I ask you first to verify either you have
>  proper path setup in /etc/profile and in whatever environment you've
>  started fail2ban from, and then decide either we should add full path
>  or not ;-)

Okay...  I don't think I've modified either from a standard Debian
setup, but I'll see what I can find out.  Here's what I have in
/etc/profile:

        PATH="/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games"

This of course does not include /sbin (and AFAICS it shouldn't).  That is
added in /root/.profile, which apparently is not being read in this
case.  Going by the bash manpage, I guess that means that fail2ban is
not running in a login shell.

Anything else I can check?  I may well have changed something that I
shouldn't have, somewhere on this system.  OTOH it's also possible that
most users simply don't notice they have this problem!


Jeroen



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to