Fix vulnerability reported in SA16553 using the Red Hat patch.

This commit is contained in:
tron 2005-08-25 10:00:01 +00:00
parent a73f6299d6
commit 251c50b7b1
1 changed files with 2 additions and 2 deletions

View File

@ -109,14 +109,14 @@ elif [ -f /bin/domainname ]; then
/usr/bin/ypcat passwd 2>/dev/null | cat - /etc/passwd | grep "^$LOGNAME:" |
cut -f5 -d':' | sed -e 's/,.*//' > $TEMP
ORIGINATOR="`cat $TEMP`"
rm -f $TEMP
>$TEMP
fi
fi
if [ "$ORIGINATOR" = "" ]; then
grep "^$LOGNAME:" /etc/passwd | cut -f5 -d':' | sed -e 's/,.*//' > $TEMP
ORIGINATOR="`cat $TEMP`"
rm -f $TEMP
>$TEMP
fi
if [ -n "$ORGANIZATION" ]; then