initscript: DB_CONFIG ownership check
This commit is contained in:
parent
96238a3a52
commit
54ef52388e
@ -136,6 +136,12 @@ function configtest() {
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
if test -f "${dbdir}/DB_CONFIG"; then
|
||||
if ! testasuser $user -r "${dbdir}/DB_CONFIG"; then
|
||||
file=DB_CONFIG
|
||||
echo -n $"$file is not readable by \"$user\"" ; warning ; echo
|
||||
fi
|
||||
fi
|
||||
done
|
||||
# Unaccessible keytab with an "ldap" key.
|
||||
if checkkeytab $user ldap ; then
|
||||
|
Loading…
Reference in New Issue
Block a user