|
@ -1,6 +1,6 @@ |
|
|
#!/bin/sh - |
|
|
#!/bin/sh - |
|
|
# |
|
|
# |
|
|
# $OpenBSD: security,v 1.46 2001/03/25 04:50:27 millert Exp $ |
|
|
|
|
|
|
|
|
# $OpenBSD: security,v 1.47 2001/04/05 18:47:00 millert Exp $ |
|
|
# from: @(#)security 8.1 (Berkeley) 6/9/93 |
|
|
# from: @(#)security 8.1 (Berkeley) 6/9/93 |
|
|
# |
|
|
# |
|
|
|
|
|
|
|
@ -70,7 +70,7 @@ if [ -s $OUTPUT ] ; then |
|
|
column $OUTPUT |
|
|
column $OUTPUT |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
awk -F: '{ print $1 " " $3 }' $MP | sort -n +1 | tee $TMP1 | |
|
|
|
|
|
|
|
|
awk -F: '/^[^\+]/ { print $1 " " $3 }' $MP | sort -n +1 | tee $TMP1 | |
|
|
uniq -d -f 1 | awk '{ print $2 }' > $TMP2 |
|
|
uniq -d -f 1 | awk '{ print $2 }' > $TMP2 |
|
|
if [ -s $TMP2 ] ; then |
|
|
if [ -s $TMP2 ] ; then |
|
|
echo "\n${MP} has duplicate user ID's." |
|
|
echo "\n${MP} has duplicate user ID's." |
|
|