diff --git a/etc/security b/etc/security index f924916ecae0..a39c3891ee0b 100644 --- a/etc/security +++ b/etc/security @@ -1,7 +1,7 @@ #!/bin/sh - # # @(#)security 5.3 (Berkeley) 5/28/91 -# $Id: security,v 1.22 1997/09/26 01:38:30 alex Exp $ +# $Id: security,v 1.23 1998/02/04 01:53:19 alex Exp $ # PATH=/sbin:/bin:/usr/bin LC_ALL=C; export LC_ALL @@ -96,4 +96,14 @@ if dmesg 2>/dev/null > $TMP; then fi fi +# show login failures +separator +echo "$host login failures:" +grep -i "login failures" $LOG/messages + +# show tcp_wrapper warning messages +separator +echo "$host refused connections:" +grep -i "refused connect" $LOG/messages + rm -f $TMP