mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-28 12:07:10 +01:00
additionally warnings
- login failures - tcp_wrapper messages about refused connections
This commit is contained in:
parent
2922de5ede
commit
45ae42c55e
12
etc/security
12
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
|
||||
|
Loading…
Reference in New Issue
Block a user