diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1996-11-23 19:10:44 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1996-11-23 19:10:44 +0000 |
commit | 306adfe37a19b924bfe990750192540a4af86079 (patch) | |
tree | 370fae72e609a4aa6f42dbcb78e7fe3caa942735 | |
parent | 4dc1545610062dcaf5ff8d02f20556c45bbb9a2d (diff) |
Deal with leading whitespace in find output. Fixes problem of devices
showing up in the setuid list ;-)
-rw-r--r-- | etc/security | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/security b/etc/security index e2f5d980e5b..464981e2291 100644 --- a/etc/security +++ b/etc/security @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: security,v 1.11 1996/10/22 07:58:30 tholo Exp $ +# $OpenBSD: security,v 1.12 1996/11/23 19:10:43 millert Exp $ # PATH=/sbin:/usr/sbin:/bin:/usr/bin @@ -393,8 +393,8 @@ if [ -s $OUTPUT ] ; then printf "\n" fi -# Display any changes in the setuid file list. -egrep -v '^[0-9]+ +[0-9]+ +[bc]' $LIST > $TMP1 +# Display any changes in the setuid/setgid file list. +egrep -v '^ *[0-9]+ +[0-9]+ +[bc]' $LIST > $TMP1 if [ -s $TMP1 ] ; then # Check to make sure uudecode isn't setuid. if grep -w uudecode $TMP1 > /dev/null ; then |