version 1.183, 2017/05/07 09:40:15 |
version 1.184, 2017/05/28 08:07:33 |
|
|
if [[ "${_stat[0]}${_stat[2]}${_stat[3]}" != *---00 ]]; then |
if [[ "${_stat[0]}${_stat[2]}${_stat[3]}" != *---00 ]]; then |
echo "WARNING: $_file is insecure, fixing permissions" |
echo "WARNING: $_file is insecure, fixing permissions" |
chmod -LR o-rwx $_file |
chmod -LR o-rwx $_file |
chown -LR root.wheel $_file |
chown -LR root:wheel $_file |
fi |
fi |
|
|
# Check for ifconfig'able interface, except if -n option is specified. |
# Check for ifconfig'able interface, except if -n option is specified. |