version 1.87, 2003/11/19 20:28:19 |
version 1.88, 2004/02/09 09:04:13 |
Line 482 if checkyesno check_homes; then |
|
Line 482 if checkyesno check_homes; then |
|
awk -v "usergroups=$permit_usergroups" ' |
awk -v "usergroups=$permit_usergroups" ' |
$1 != $4 && $4 != "root" \ |
$1 != $4 && $4 != "root" \ |
{ print "user " $1 " home directory is owned by " $4 } |
{ print "user " $1 " home directory is owned by " $4 } |
$2 ~ /^-....w/ (!usergroups || $5 != $1) \ |
$2 ~ /^-....w/ && (!usergroups || $5 != $1) \ |
{ print "user " $1 " home directory is group writable" } |
{ print "user " $1 " home directory is group writable" } |
$2 ~ /^-.......w/ \ |
$2 ~ /^-.......w/ \ |
{ print "user " $1 " home directory is other writable" }' \ |
{ print "user " $1 " home directory is other writable" }' \ |