You are not logged in.
Hi people I was trying to spawn a command from my /etc/hosts.allow and /etc/hosts.deny, let's say I've got somebody denied I want the event to be logged or somebody's ip checked with a black ip list etc.
What syntax should I use for arch? I was trying to simply write:
sshd:ALL:spawn python /usr/bin/denyhosts.py --purge -c /etc/denyhosts.cfg: allowdidn't work... tried this
sshd:ALL:spawn(python /usr/bin/denyhosts.py --purge -c /etc/denyhosts.cfg): allowand this
sshd:ALL:spawn= python /usr/bin/denyhosts.py --purge -c /etc/denyhosts.cfg: allowTried updating TCP_Wrapper package which was up to date still no luck, I found somebody suggested using something like this: (ref: http://bbs.archlinux.org/viewtopic.php?id=456 )
#
# /etc/hosts.deny
#
ALL: ALL: DENY spawn (/usr/bin/logger "%d[%p]: %c tried to get in.")...no joy
Also is libwrap part of the package and if it's required to have the spawn functionality?
I couldn't get twist to work either...
Last edited by T0MAS (2007-02-22 19:17:16)
Offline