Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-2]: src/etc Pull up following revision(s) (requested by jnemeth i...
details: https://anonhg.NetBSD.org/src/rev/ab14d4bc95fd
branches: netbsd-2
changeset: 564597:ab14d4bc95fd
user: bouyer <bouyer%NetBSD.org@localhost>
date: Sun May 27 21:25:13 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 a403c0d2e573 -r ab14d4bc95fd etc/security
--- a/etc/security Sun May 27 21:22:23 2007 +0000
+++ b/etc/security Sun May 27 21:25:13 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.4.1 2007/05/27 21:25:13 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