forked from evolix/evocheck
Check sudoers, grep only umask.
This commit is contained in:
parent
68ea07c919
commit
3116eaf987
|
@ -150,7 +150,7 @@ if [ -e /etc/debian_version ]; then
|
|||
|
||||
# Compatible Squeeze & Wheezy.
|
||||
if [ "$IS_CUSTOMSUDOERS" = 1 ]; then
|
||||
egrep -qr "env_reset,.*umask=0077" /etc/sudoers* || echo 'IS_CUSTOMSUDOERS FAILED!'
|
||||
egrep -qr "umask=0077" /etc/sudoers* || echo 'IS_CUSTOMSUDOERS FAILED!'
|
||||
fi
|
||||
|
||||
# Verifying check_mailq in Nagios NRPE config file. (Option "-M postfix" need to be set if the MTA is Postfix)
|
||||
|
|
Loading…
Reference in a new issue