Browse Source

only watch for pure + entries

OPENBSD_2_0
deraadt 28 years ago
parent
commit
e69b25ba3d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/etc/security

+ 2
- 2
src/etc/security View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $OpenBSD: security,v 1.3 1996/05/26 10:25:29 deraadt Exp $
# $OpenBSD: security,v 1.4 1996/07/07 09:35:26 deraadt Exp $
#
PATH=/sbin:/usr/sbin:/bin:/usr/bin
@ -260,7 +260,7 @@ while read uid homedir; do
awk '{
if ($0 ~ /^+@.*$/ )
next;
if ($0 ~ /^+.*$/ )
if ($0 ~ /^\+[ ]*$/ )
printf("%s has + sign in it.\n",
FILENAME);
}' ${homedir}/$j


Loading…
Cancel
Save