I am trying to set up some semblence of security on my machine with linux. 
(redhat 6.2)  Unfortunately, I have run into a small problem and was hoping 
someone might be able to help me with it.  I would like to set up 
hosts.allow and hosts.deny to send me an email whenever someone 
telnets/ftps/etc... into my machine.  After reading the man pages on 
hosts.allow and tcpd I have come up with the following line in hosts.allow:

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)

Can anyone tell me why my commands aren't being executed?  I followed the 
3rd example (Booby  Traps) in the man pages for hosts.allow precisely and 
can not figure out for the life of me, what is wrong.

Thanks in advance for any help anyone can give me.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.



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

Reply via email to