Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
seccheck
seccheck-2.0_daily_uid_bnc769770.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File seccheck-2.0_daily_uid_bnc769770.diff of Package seccheck
--- seccheck-2.0/security-daily.sh.orig 2012-07-03 15:58:05.181812960 +0200 +++ seccheck-2.0/security-daily.sh 2012-07-04 14:15:53.167624503 +0200 @@ -12,11 +12,8 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin umask 077 -TMPDIR=`/bin/mktemp -d /tmp/.security.XXXXXX` || { - TMPDIR="/tmp/.security-daily.sh.redhatshouldupdatetheirmktemp.$$" - rm -rf "$TMPDIR" - mkdir "$TMPDIR" || exit 1 -} +TMPDIR=`/bin/mktemp -d /tmp/.security.XXXXXXXXXX` || exit 1 + trap 'rm -rf $TMPDIR; exit 1' 0 1 2 3 13 15 LOG="$TMPDIR/security.log" ERR="$TMPDIR/security.err" @@ -82,7 +79,7 @@ if [ -s "$TMP2" ] ; then echo -e "\n$PW has duplicate user ids:" while read uid; do - grep -w $uid $TMP1 + grep -w $uid\$ $TMP1 done < $TMP2 | column fi cp -pf $PW $PW.backup
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor