Try this instead
ALL: ALL: spawn (/usr/sbin/safe_finger -l @%h | /bin/mail -s %d-%h root)
&
-magnus
aoc wrote:
>
> i can't get this piece of code to work. it's supposed to
> email root whenever non-authorized connections are detected.
> /etc/hosts.deny:
> ----------------
>
> ALL: ALL: /usr/sbin/safe_finger -l @%h | /bin/mail -s %d-%h root &
>
> any ideas?
>
> --
> PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
> To unsubscribe: mail [EMAIL PROTECTED] with
> "unsubscribe" as the Subject.
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.