> ALL: ALL: (/usr/sbin/wall test) &
> 
> Of course, this does not do anything but broadcast "test" to all of the 
> consoles, but it should have executed the command when i tried to telnet 
> into my machine, which it did not.  Furthermore, it did not even allow me 
> into the machine using telnet.  (when i commented out the "(/usr/sbin/wall 
> test) &" part it does let me in)

ALL: ALL: spawn ( /bin/echo -e "%s Connection attempt blocked" | \
        /bin/mail -s "Connect attempt to %d blocked" admin )

There's a handful of documentation covering this subject on
http://www.linuxsecurity.com/docs

dave




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to