diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1999-11-22 15:48:08 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1999-11-22 15:48:08 +0000 |
commit | 53fb56db68bee8020c4e2de0364807d417b02152 (patch) | |
tree | 333e7bbf389ec72c3dc19f1f5de9e81ac6ac6911 /etc | |
parent | 8a81f9115be3a5905a3a4b77066787faa6a8701e (diff) |
match /dev/fd{0,1,2,3}{,B,C,D,E,F,G,H}[abcdefghijklmnop] when doing device checks; closes PR #750
Diffstat (limited to 'etc')
-rw-r--r-- | etc/security | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/security b/etc/security index eb4605fd84c..5bf77f94f50 100644 --- a/etc/security +++ b/etc/security @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: security,v 1.32 1999/06/19 17:14:31 espie Exp $ +# $OpenBSD: security,v 1.33 1999/11/22 15:48:07 millert Exp $ # from: @(#)security 8.1 (Berkeley) 6/9/93 # @@ -529,8 +529,8 @@ fi >$TMP1 DISKLIST="ccd dk fd hd hk hp jb kra ra rb rd rl rx rz sd up vnd wd xd" for i in $DISKLIST; do - egrep "^b.*/${i}[0-9][0-9]*[a-p]$" $LIST >> $TMP1 - egrep "^c.*/r${i}[0-9][0-9]*[a-p]$" $LIST >> $TMP1 + egrep "^b.*/${i}[0-9][0-9]*[B-H]?[a-p]$" $LIST >> $TMP1 + egrep "^c.*/r${i}[0-9][0-9]*[B-H]?[a-p]$" $LIST >> $TMP1 done awk '$3 != "root" || $4 != "operator" || $1 !~ /.rw-r-----/ \ |