|
|
@ -1,6 +1,6 @@ |
|
|
|
#!/bin/sh - |
|
|
|
# |
|
|
|
# $OpenBSD: security,v 1.77 2006/10/31 01:38:22 dlg Exp $ |
|
|
|
# $OpenBSD: security,v 1.78 2007/08/22 12:03:26 henning Exp $ |
|
|
|
# from: @(#)security 8.1 (Berkeley) 6/9/93 |
|
|
|
# |
|
|
|
|
|
|
@ -69,7 +69,7 @@ fi |
|
|
|
awk -F: '/^[^\+]/ { print $1 " " $3 }' $MP | sort -n +1 | tee $TMP1 | |
|
|
|
uniq -d -f 1 | awk '{ print $2 }' > $TMP2 |
|
|
|
if [ -s $TMP2 ] ; then |
|
|
|
echo "\n${MP} has duplicate user ID's." |
|
|
|
echo "\n${MP} has duplicate user IDs." |
|
|
|
while read uid; do |
|
|
|
grep -w $uid $TMP1 |
|
|
|
done < $TMP2 | column |
|
|
|