Return to security CVS log | Up to [local] / src / etc |
version 1.61, 2003/07/01 21:52:39 | version 1.62, 2003/07/01 22:12:50 | ||
---|---|---|---|
|
|
||
if [ -s $i ] ; then | if [ -s $i ] ; then | ||
awk '{ | awk '{ | ||
if ($1 == "umask") { | if ($1 == "umask") { | ||
if ($2 % 100 ~ /^[0145]/) | if ($2 % 100 / 10 ~ /^[0145]/) | ||
print "Root umask is group writable"; | print "Root umask is group writable"; | ||
if ($2 % 10 ~ /^[0145]/) | if ($2 % 10 ~ /^[0145]/) | ||
print "Root umask is other writable"; | print "Root umask is other writable"; |