Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-2-0]: src/etc Pull up following revision(s) (requested by jnemeth...



details:   https://anonhg.NetBSD.org/src/rev/fedae9f1a074
branches:  netbsd-2-0
changeset: 565048:fedae9f1a074
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Sun May 27 21:26:12 2007 +0000

description:
Pull up following revision(s) (requested by jnemeth in ticket #11309):
        etc/security: revision 1.101
PR/36058 -- fix check for group/other writable home directories from
Jukka Salmi

diffstat:

 etc/security |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r 66b086b73b8d -r fedae9f1a074 etc/security
--- a/etc/security      Sun Apr 08 22:28:05 2007 +0000
+++ b/etc/security      Sun May 27 21:26:12 2007 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#      $NetBSD: security,v 1.88 2004/02/09 09:04:13 jdolecek Exp $
+#      $NetBSD: security,v 1.88.2.1 2007/05/27 21:26:12 bouyer Exp $
 #      from: @(#)security      8.1 (Berkeley) 6/9/93
 #
 
@@ -482,9 +482,9 @@
        awk -v "usergroups=$permit_usergroups" '
             $1 != $4 && $4 != "root" \
                { print "user " $1 " home directory is owned by " $4 }
-            $2 ~ /^-....w/ && (!usergroups || $5 != $1) \
+            $2 ~ /^d....w/ && (!usergroups || $5 != $1) \
                { print "user " $1 " home directory is group writable" }
-            $2 ~ /^-.......w/ \
+            $2 ~ /^d.......w/ \
                { print "user " $1 " home directory is other writable" }' \
            > $OUTPUT
        if [ -s $OUTPUT ] ; then



Home | Main Index | Thread Index | Old Index