additionally warnings

- login failures
- tcp_wrapper messages about refused connections
This commit is contained in:
andreas 1998-06-27 11:13:59 +00:00
parent 2922de5ede
commit 45ae42c55e

View File

@ -1,7 +1,7 @@
#!/bin/sh - #!/bin/sh -
# #
# @(#)security 5.3 (Berkeley) 5/28/91 # @(#)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 PATH=/sbin:/bin:/usr/bin
LC_ALL=C; export LC_ALL LC_ALL=C; export LC_ALL
@ -96,4 +96,14 @@ if dmesg 2>/dev/null > $TMP; then
fi fi
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 rm -f $TMP